mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/ffcall
This commit is contained in:
parent
8049c7eccf
commit
3bb38ea530
1 changed files with 35 additions and 0 deletions
35
extra/ffcall/PKGBUILD
Normal file
35
extra/ffcall/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
# $Id$
|
||||
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
|
||||
# Contributor: Michael Baehr <usemike@spamblocked.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - configure v7/v8 with --with-pic
|
||||
|
||||
pkgname=ffcall
|
||||
pkgver=1.13
|
||||
pkgrel=2.1
|
||||
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
|
||||
arch=('i686' '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" -o "$CARCH" = "aarch64" -o "$CARCH" = "armv7h" ] && 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
|
||||
}
|
Loading…
Reference in a new issue