libffi 3.4.6-1
This commit is contained in:
parent
ef504e49ad
commit
336448cf1f
32
libffi/PKGBUILD
Normal file
32
libffi/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=libffi
|
||||
pkgver=3.4.6
|
||||
pkgrel=1
|
||||
pkgdesc="Portable foreign function interface library"
|
||||
arch=('x86_64')
|
||||
url="https://sourceware.org/libffi/"
|
||||
license=('MIT')
|
||||
depends=('glibc')
|
||||
source=(https://github.com/libffi/libffi/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=(b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
${CONFIGURE} \
|
||||
--disable-static \
|
||||
--with-gcc-arch=native
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
Loading…
Reference in New Issue
Block a user