diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-16 18:58:34 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-16 18:58:34 (GMT) |
commit | 645000e4b72719a4aa195196629ad1fa628acca1 (patch) | |
tree | e771344d872e2387a00184ba6731ec72f95f10ff /abs/extra/ffcall/PKGBUILD | |
parent | 4a85d5a92de1fd6d8a52686e58816c69db8fc584 (diff) | |
download | linhes_pkgbuild-645000e4b72719a4aa195196629ad1fa628acca1.zip linhes_pkgbuild-645000e4b72719a4aa195196629ad1fa628acca1.tar.gz linhes_pkgbuild-645000e4b72719a4aa195196629ad1fa628acca1.tar.bz2 |
ffcall: initial inclusion
Diffstat (limited to 'abs/extra/ffcall/PKGBUILD')
-rw-r--r-- | abs/extra/ffcall/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/ffcall/PKGBUILD b/abs/extra/ffcall/PKGBUILD new file mode 100644 index 0000000..4aad77d --- /dev/null +++ b/abs/extra/ffcall/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: Michael Baehr <usemike@spamblocked.com> + +pkgname=ffcall +pkgver=1.13 +pkgrel=2 +pkgdesc="C library for implementing foreign function calls in embedded interpreters" +arch=('x86_64') +url="http://www.gnu.org/software/libffcall/" +license=('GPL2') +options=('!makeflags' 'staticlibs') +source=(https://ftp.gnu.org/gnu/libffcall/libffcall-1.13.tar.gz) +md5sums=('cb3051a80726b5e7b9031c4038a56afc') + +build() { + cd "${srcdir}/lib${pkgname}-${pkgver}" + [ "$CARCH" = "x86_64" ] && CONFIGFLAG="--with-pic" + ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG + make +} + +check() { + cd "${srcdir}/lib${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/lib${pkgname}-${pkgver}" + install -d "${pkgdir}"/usr/share/{man,doc/ffcall} + make DESTDIR="${pkgdir}" htmldir=/usr/share/doc/ffcall install +} |