wok-current view libffcall/receipt @ rev 5333

glibc: dont use configparms (Thanks Alexander)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 25 21:47:06 2010 +0200 (2010-04-25)
parents
children 39f586a2b014
line source
1 # SliTaz package receipt.
3 PACKAGE="libffcall"
4 VERSION="20091209"
5 CATEGORY="development"
6 SHORT_DESC="Foreign function call libraries."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="cvs"
10 WEB_SITE="http://www.gnu.org/software/libffcall/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 # No official tarball - so we have to use cvs.
16 cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall
18 # $src = $PACKAGE-$VERSION
19 mv ffcall $PACKAGE-$VERSION 2>/dev/null
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/include $fs/usr
35 }