extra/ffcall to 1.10-4

This commit is contained in:
Kevin Mihelich 2011-07-08 21:12:49 -04:00
parent abe2547aca
commit 6216cf6ed8

View file

@ -2,7 +2,7 @@
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Michael Baehr <usemike@spamblocked.com>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# - 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
@ -11,18 +11,18 @@ plugrel=1
pkgname=ffcall
pkgver=1.10
pkgrel=3
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://home.miheli.ch/${pkgname}-${pkgver}.tar.gz)
source=(http://archlinuxarm.org/builder/src//${pkgname}-${pkgver}.tar.gz)
md5sums=('700e91d12c2fddf3aa4090436ce28370')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
if [ "$CARCH" = "x86_64" ]; then
if [ "$CARCH" = "armv7h" ]; then
./configure --prefix=/usr --mandir=/usr/share/man --with-pic || return 1
else
./configure --prefix=/usr --mandir=/usr/share/man || return 1