mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 11:11:40 +01:00
30 lines
825 B
Plaintext
30 lines
825 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libffi
|
|
pkgver=3.0.10
|
|
pkgrel=0
|
|
pkgdesc="A portable, high level programming interface to various calling conventions."
|
|
url="http://sourceware.org/libffi"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=
|
|
makedepends="texinfo"
|
|
install=
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
build () {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR=""$pkgdir"" install || return 1
|
|
rm "$pkgdir"/usr/lib/*.la || return 1
|
|
install -m755 -d ""$pkgdir"/usr/share/licenses/$pkgname"
|
|
install -m644 LICENSE ""$pkgdir"/usr/share/licenses/$pkgname/" || return 1
|
|
}
|
|
md5sums="79390673f5d07a8fb342bc09b5055b6f libffi-3.0.10.tar.gz"
|