diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/ffcall/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/ffcall/PKGBUILD')
-rw-r--r-- | extra/ffcall/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD new file mode 100644 index 000000000..fcf0a0f66 --- /dev/null +++ b/extra/ffcall/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 2176 2008-05-28 20:52:39Z eric $ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: Michael Baehr <usemike@spamblocked.com> + +pkgname=ffcall +pkgver=1.10 +pkgrel=3 +pkgdesc="C library for implementing foreign function calls in embedded interpreters" +arch=('i686' 'x86_64') +url="http://www.haible.de/bruno/packages-ffcall.html" +license=('GPL2') +options=('!libtool' '!makeflags') +source=(http://www.haible.de/bruno/gnu/${pkgname}-${pkgver}.tar.gz) +md5sums=('2db95007e901f3bc2ae7e5a9fe9ebea4') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + if [ "$CARCH" = "x86_64" ]; then + ./configure --prefix=/usr --mandir=/usr/share/man --with-pic || return 1 + else + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + fi + make || return 1 + install -d ${startdir}/pkg/usr/share/man || return 1 + make DESTDIR=${startdir}/pkg/ install || return 1 +} |