diff options
author | Lee Starnes <lee@canned-death.us> | 2020-04-18 05:41:19 +0000 |
---|---|---|
committer | Lee Starnes <lee@canned-death.us> | 2020-04-18 09:49:20 +0000 |
commit | eb9884ddc8c49fe36411ebdb178eec1033accd3f (patch) | |
tree | 806b7f2a7d9d94e81c06dda724c22e7f546aec12 /user/ffcall | |
parent | 509b60329949662ff33bf4b7d2aa0756cb31bd09 (diff) | |
download | packages-eb9884ddc8c49fe36411ebdb178eec1033accd3f.tar.gz packages-eb9884ddc8c49fe36411ebdb178eec1033accd3f.tar.bz2 packages-eb9884ddc8c49fe36411ebdb178eec1033accd3f.tar.xz packages-eb9884ddc8c49fe36411ebdb178eec1033accd3f.zip |
user/ffcall: import from Alpine
Diffstat (limited to 'user/ffcall')
-rw-r--r-- | user/ffcall/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/ffcall/APKBUILD b/user/ffcall/APKBUILD new file mode 100644 index 000000000..6cc0f8685 --- /dev/null +++ b/user/ffcall/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Contributor: Will Sinatra <wpsinatra@gmail.com> +# Contributor: Lee Starnes <lee@canned-death.us> +# Maintainer: Lee Starnes <lee@canned-death.us> +pkgname=ffcall +pkgver=2.2 +pkgrel=0 +pkgdesc="C library for implementing foreign function calls in embedded interpreterts" +url="https://www.gnu.org/software/libffcall" +arch="all" +license="GPL-2.0-or-later" +makedepends="$depends_dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://ftp.gnu.org/gnu/libffcall/libffcall-$pkgver.tar.gz" +builddir="$srcdir/"/libffcall-$pkgver + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + # Fails to build if building in parallel + make -j1 +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" htmldir=/usr/share/doc/ffcall install + +} + +sha512sums="b9d3ca4c67ab92915a8183d850153e585dcb58ceb2199a104426a7aae363d37017b1226440acd18a2db0cc207e044f71e932857189964261e8eaa6de5cef1731 libffcall-2.2.tar.gz" |