From c8e7f7dd27bf2d08c6b31120ba5c3a7eeb603afb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 1 Apr 2010 18:34:12 +0000 Subject: main/libffi: new aport A portable, high level programming interface to various calling conventions http://sourceware.org/libffi" --- main/libffi/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 main/libffi/APKBUILD (limited to 'main/libffi') diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD new file mode 100644 index 0000000000..3ef7415023 --- /dev/null +++ b/main/libffi/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Natanael Copa +pkgname=libffi +pkgver=3.0.9 +pkgrel=0 +pkgdesc="A portable, high level programming interface to various calling conventions." +url="http://sourceware.org/libffi" +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 + install -m755 -d ""$pkgdir"/usr/share/licenses/$pkgname" + install -m644 LICENSE ""$pkgdir"/usr/share/licenses/$pkgname/" || return 1 +} +md5sums="1f300a7a7f975d4046f51c3022fa5ff1 libffi-3.0.9.tar.gz" -- cgit v1.2.3