wok-6.x view libffcall/receipt @ rev 16052
clamav: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 15:33:31 2014 +0000 (2014-03-10) |
parents | b7319995b37e |
children | ecbdf313714b |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnu.org/software/libffcall/"
11 WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall"
12 CVS_MODULE="ffcall"
14 DEPENDS=""
15 BUILD_DEPENDS="cvs"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 #TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
21 #if [ -f $TARBALL ]; then
22 #tar xzf $TARBALL
23 #else
24 # No official tarball - so we have to use cvs.
25 #cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
27 # $src = $PACKAGE-$VERSION
28 #mv ffcall $PACKAGE-$VERSION 2>/dev/null
29 #tar czf $TARBALL $PACKAGE-$VERSION
30 #fi
31 cd $src
32 ./configure $CONFIGURE_ARGS &&
33 make -j1 && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/include $fs/usr
42 }