mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# $Id: PKGBUILD 2176 2008-05-28 20:52:39Z eric $
|
|
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
|
|
# Contributor: Michael Baehr <usemike@spamblocked.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - using source from Ubuntu Natty, 1.10+cvs20100619-2build1
|
|
# - this has the upstream updates to allow <ARMv6 to compile
|
|
# - when ffcall gets updated in abs, try new version, delete this if it works
|
|
|
|
pkgname=ffcall
|
|
pkgver=1.10
|
|
pkgrel=4
|
|
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://archlinuxarm.org/builder/src//${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('700e91d12c2fddf3aa4090436ce28370')
|
|
|
|
build() {
|
|
cd ${startdir}/src/${pkgname}-${pkgver}
|
|
if [ "$CARCH" = "armv6h" -o "$CARCH" = "armv7h" ]; 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
|
|
}
|