wok-6.x view libffcall/receipt @ rev 9552
busybox/httpd: no patch need for directory list
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 13:13:17 2011 +0200 (2011-04-10) |
parents | a11358feced4 |
children | 3ca7697bc251 |
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 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
16 if [ -f $TARBALL ]; then
17 tar xzf $TARBALL
18 else
19 # No official tarball - so we have to use cvs.
20 cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
22 # $src = $PACKAGE-$VERSION
23 mv ffcall $PACKAGE-$VERSION 2>/dev/null
24 tar czf $TARBALL $PACKAGE-$VERSION
25 fi
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make -j1 && make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $_pkg/usr/lib $fs/usr
40 cp -a $_pkg/usr/include $fs/usr
41 }