wok annotate libffcall/receipt @ rev 9901
lxpanel: we need lymenu-data in bdeps to have a menu...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 13:36:31 2011 +0200 (2011-05-17) |
parents | 0e53525b8b2e |
children | b7319995b37e |
rev | line source |
---|---|
paul@4579 | 1 # SliTaz package receipt. |
paul@4579 | 2 |
paul@4579 | 3 PACKAGE="libffcall" |
paul@4579 | 4 VERSION="20091209" |
paul@4579 | 5 CATEGORY="development" |
paul@4579 | 6 SHORT_DESC="Foreign function call libraries." |
paul@4579 | 7 MAINTAINER="paul@slitaz.org" |
pankso@9767 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@9767 | 9 WEB_SITE="http://www.gnu.org/software/libffcall/" |
pankso@9767 | 10 WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall" |
pankso@9767 | 11 CVS_MODULE="ffcall" |
pankso@9767 | 12 |
paul@4579 | 13 DEPENDS="" |
paul@4579 | 14 BUILD_DEPENDS="cvs" |
paul@4579 | 15 |
paul@4579 | 16 # Rules to configure and make the package. |
paul@4579 | 17 compile_rules() |
paul@4579 | 18 { |
pankso@9767 | 19 #TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz |
pankso@9767 | 20 #if [ -f $TARBALL ]; then |
pankso@9767 | 21 #tar xzf $TARBALL |
pankso@9767 | 22 #else |
pascal@5559 | 23 # No official tarball - so we have to use cvs. |
pankso@9767 | 24 #cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1 |
paul@4579 | 25 |
pascal@5559 | 26 # $src = $PACKAGE-$VERSION |
pankso@9767 | 27 #mv ffcall $PACKAGE-$VERSION 2>/dev/null |
pankso@9767 | 28 #tar czf $TARBALL $PACKAGE-$VERSION |
pankso@9767 | 29 #fi |
paul@4579 | 30 cd $src |
pankso@9767 | 31 ./configure && |
pankso@9767 | 32 make -j1 && make install |
paul@4579 | 33 } |
paul@4579 | 34 |
paul@4579 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4579 | 36 genpkg_rules() |
paul@4579 | 37 { |
paul@4579 | 38 mkdir -p $fs/usr/lib |
paul@4579 | 39 cp -a $_pkg/usr/lib $fs/usr |
paul@4579 | 40 cp -a $_pkg/usr/include $fs/usr |
paul@4579 | 41 } |
paul@4579 | 42 |