blob: 4aad77d035e705939b6a977151cbbf3bb1a0070b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id$
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Michael Baehr <usemike@spamblocked.com>
pkgname=ffcall
pkgver=1.13
pkgrel=2
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
arch=('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" ] && 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
}
|