diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-26 15:13:41 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-26 15:13:41 -0500 |
commit | d26fb8dc20ba3b0e6ef535761b3ac5fd8e7b7c70 (patch) | |
tree | ae84713aa59e8e2eaa4a2a19db89294ea0b4c1cf /extra/ffcall | |
parent | 2095d71af1b9e0c1dff405c178a9481d1020ca3e (diff) | |
parent | 8999fa1750304fb2367fb7743e49e013405e88be (diff) |
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts:
community/distcc/PKGBUILD
community/lxtask/PKGBUILD
community/ushare/PKGBUILD
extra/catdoc/PKGBUILD
extra/curl/PKGBUILD
extra/ethstatus/PKGBUILD
extra/ffcall/PKGBUILD
extra/gimp-dbp/PKGBUILD
extra/gimp-refocus/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/metacity/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/x2x/PKGBUILD
libre/kernel26-libre/PKGBUILD
multilib/lib32-libpulse/PKGBUILD
multilib/wine/PKGBUILD
testing/alex/PKGBUILD
testing/ghc/PKGBUILD
testing/haskell-cgi/PKGBUILD
testing/haskell-deepseq/PKGBUILD
testing/haskell-fgl/PKGBUILD
testing/haskell-glut/PKGBUILD
testing/haskell-haskell-src/PKGBUILD
testing/haskell-html/PKGBUILD
testing/haskell-http/PKGBUILD
testing/haskell-hunit/PKGBUILD
testing/haskell-mtl/PKGBUILD
testing/haskell-network/PKGBUILD
testing/haskell-opengl/PKGBUILD
testing/haskell-parallel/PKGBUILD
testing/haskell-parsec/PKGBUILD
testing/haskell-platform/PKGBUILD
testing/haskell-quickcheck/PKGBUILD
testing/haskell-regex-base/PKGBUILD
testing/haskell-regex-compat/PKGBUILD
testing/haskell-regex-posix/PKGBUILD
testing/haskell-stm/PKGBUILD
testing/haskell-syb/PKGBUILD
testing/haskell-text/PKGBUILD
testing/haskell-transformers/PKGBUILD
testing/haskell-xhtml/PKGBUILD
testing/haskell-zlib/PKGBUILD
testing/perl/ChangeLog
testing/perl/PKGBUILD
testing/perl/perlbin.sh
testing/pidgin/PKGBUILD
testing/spamassassin/PKGBUILD
Diffstat (limited to 'extra/ffcall')
-rw-r--r-- | extra/ffcall/PKGBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD index c1275119b..b235f7173 100644 --- a/extra/ffcall/PKGBUILD +++ b/extra/ffcall/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 2176 2008-05-28 20:52:39Z eric $ +# $Id: PKGBUILD 128452 2011-06-24 01:23:15Z eric $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Contributor: Michael Baehr <usemike@spamblocked.com> pkgname=ffcall pkgver=1.10 -pkgrel=3 +pkgrel=4 pkgdesc="C library for implementing foreign function calls in embedded interpreters" arch=('i686' 'x86_64' 'mips64el') -url="http://www.haible.de/bruno/packages-ffcall.html" +url="http://www.gnu.org/software/libffcall/" license=('GPL2') options=('!libtool' '!makeflags') source=(http://www.haible.de/bruno/gnu/${pkgname}-${pkgver}.tar.gz @@ -16,16 +16,20 @@ md5sums=('2db95007e901f3bc2ae7e5a9fe9ebea4' '64045515f2664b5544943c6754bf2737') 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 + cd "${srcdir}/${pkgname}-${pkgver}" + [ "$CARCH" = "x86_64" ] && CONFIGFLAG="--with-pic" + patch -Np0 -i "$srcdir/mipsn32.patch" + ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG + make +} - patch -Np0 -i $srcdir/mipsn32.patch +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} - make || return 1 - install -d ${startdir}/pkg/usr/share/man || return 1 - make DESTDIR=${startdir}/pkg/ install || return 1 +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -d "${pkgdir}"/usr/share/{man,doc/ffcall} + make DESTDIR="${pkgdir}" htmldir=/usr/share/doc/ffcall install } |