diff options
Diffstat (limited to 'testing/ffcall')
-rw-r--r-- | testing/ffcall/APKBUILD | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/testing/ffcall/APKBUILD b/testing/ffcall/APKBUILD index ba41238232..6a8156c4fb 100644 --- a/testing/ffcall/APKBUILD +++ b/testing/ffcall/APKBUILD @@ -1,33 +1,23 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: pkgname=ffcall -pkgver=1.10 +pkgver=1.13 pkgrel=0 pkgdesc="C library for implementing foreign function calls in embedded interpreters" url="http://www.gnu.org/software/libffcall/" -arch="x86_64 x86" +arch="all" license="GPL2" depends="" depends_dev="" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" -source="http://www.haible.de/bruno/gnu/ffcall-$pkgver.tar.gz" +source="https://ftp.gnu.org/gnu/libffcall/libffcall-$pkgver.tar.gz" -_builddir="$srcdir"/ffcall-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} +builddir="$srcdir"/libffcall-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,20 +25,16 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make -j1 || return 1 + --localstatedir=/var + make -j1 } package() { - cd "$_builddir" + cd "$builddir" mkdir -p "$pkgdir"/usr/share/man \ "$pkgdir"/usr/share/doc/ffcall \ "$pkgdir"/usr/share/doc/doc - make DESTDIR="$pkgdir" htmldir=/usr/share/doc/ffcall \ - install || return 1 + make DESTDIR="$pkgdir" htmldir=/usr/share/doc/ffcall install } -md5sums="2db95007e901f3bc2ae7e5a9fe9ebea4 ffcall-1.10.tar.gz" -sha256sums="6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d ffcall-1.10.tar.gz" -sha512sums="dceb620907adae5bbbb52cf2d0b0c829242ad22adceb3186b7a887b7ba49e28b607c30179de6b5a0c46a90bd52f9963ce503ca0c69bc3ecf41e3556df094ddca ffcall-1.10.tar.gz" +sha512sums="c059fa89eb3e85bad22d045de074bfc88fae42454821e10905ffd67209b6e6ea44eeab120b869696f77b816aacb9a5af3e4b51c640512e876df1b6da6f296bd4 libffcall-1.13.tar.gz" |