wok view libffcall/receipt @ rev 6261

Up: xorg-libXau, xorg-libXau-dev to 1.0.6. Fix typo in xorg-libXau-dev.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 14 14:10:10 2010 +0000 (2010-09-14)
parents 39f586a2b014
children 0e53525b8b2e
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 && 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 }