19 lines
556 B
Plaintext
19 lines
556 B
Plaintext
# Description: C library for implementing foreign function calls in embedded interpreters
|
|
# URL: http://www.gnu.org/software/libffcall/
|
|
# Packager: milisarge
|
|
# Depends on:
|
|
|
|
name=ffcall
|
|
version=1.10
|
|
release=1
|
|
source=(http://www.haible.de/bruno/gnu/${name}-${version}.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
[ "`uname -m`" = "x86_64" ] && CONFIGFLAG="--with-pic"
|
|
./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
|
|
make || make -j1
|
|
install -d $PKG/usr/share/{man,doc/ffcall-$version}
|
|
make DESTDIR=$PKG htmldir=/usr/share/doc/ffcall-$version install
|
|
}
|