mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
sync
This commit is contained in:
parent
a1139a7050
commit
c1fb8ef70a
32
lib32-libffi/PKGBUILD
Normal file
32
lib32-libffi/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Lib32 Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=lib32-libffi
|
||||
pkgver=3.0.10
|
||||
pkgrel=1
|
||||
pkgdesc="A portable, high level programming interface to various calling conventions (32 bits version)."
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
url="http://sourceware.org/libffi"
|
||||
depends=('lib32-glibc')
|
||||
options=('!libtool')
|
||||
source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz)
|
||||
md5sums=('79390673f5d07a8fb342bc09b5055b6f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/libffi-${pkgver}"
|
||||
|
||||
export CC="gcc -m32"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32
|
||||
make
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
rm -r "${pkgdir}"/usr/share/{info,man}
|
||||
}
|
Loading…
Reference in New Issue
Block a user