wok annotate libffcall/receipt @ rev 18103

Up bash (4.3.39)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:50:13 2015 +0200 (2015-06-01)
parents b7319995b37e
children ecbdf313714b
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"
pascal@15472 8 LICENSE="GPL2"
pankso@9767 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@9767 10 WEB_SITE="http://www.gnu.org/software/libffcall/"
pankso@9767 11 WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall"
pankso@9767 12 CVS_MODULE="ffcall"
pankso@9767 13
paul@4579 14 DEPENDS=""
paul@4579 15 BUILD_DEPENDS="cvs"
paul@4579 16
paul@4579 17 # Rules to configure and make the package.
paul@4579 18 compile_rules()
paul@4579 19 {
pankso@9767 20 #TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
pankso@9767 21 #if [ -f $TARBALL ]; then
pankso@9767 22 #tar xzf $TARBALL
pankso@9767 23 #else
pascal@5559 24 # No official tarball - so we have to use cvs.
pankso@9767 25 #cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
paul@4579 26
pascal@5559 27 # $src = $PACKAGE-$VERSION
pankso@9767 28 #mv ffcall $PACKAGE-$VERSION 2>/dev/null
pankso@9767 29 #tar czf $TARBALL $PACKAGE-$VERSION
pankso@9767 30 #fi
paul@4579 31 cd $src
gokhlayeh@11573 32 ./configure $CONFIGURE_ARGS &&
pankso@9767 33 make -j1 && make install
paul@4579 34 }
paul@4579 35
paul@4579 36 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4579 37 genpkg_rules()
paul@4579 38 {
paul@4579 39 mkdir -p $fs/usr/lib
pascal@15472 40 cp -a $install/usr/lib $fs/usr
pascal@15472 41 cp -a $install/usr/include $fs/usr
paul@4579 42 }
paul@4579 43