wok annotate libffcall/receipt @ rev 9236

bygfoot: patch po/Makefile.in.in
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 10:00:41 2011 +0100 (2011-03-12)
parents a11358feced4
children 3ca7697bc251
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"
paul@4579 8 DEPENDS=""
paul@4579 9 BUILD_DEPENDS="cvs"
paul@4579 10 WEB_SITE="http://www.gnu.org/software/libffcall/"
paul@4579 11
paul@4579 12 # Rules to configure and make the package.
paul@4579 13 compile_rules()
paul@4579 14 {
pascal@5559 15 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
pascal@5559 16 if [ -f $TARBALL ]; then
pascal@5559 17 tar xzf $TARBALL
pascal@5559 18 else
pascal@5559 19 # No official tarball - so we have to use cvs.
pascal@5563 20 cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
paul@4579 21
pascal@5559 22 # $src = $PACKAGE-$VERSION
pascal@5559 23 mv ffcall $PACKAGE-$VERSION 2>/dev/null
pascal@5559 24 tar czf $TARBALL $PACKAGE-$VERSION
pascal@5559 25 fi
paul@4579 26 cd $src
paul@4579 27 ./configure \
paul@4579 28 --prefix=/usr \
paul@4579 29 --infodir=/usr/share/info \
paul@4579 30 --mandir=/usr/share/man \
paul@4579 31 $CONFIGURE_ARGS &&
gokhlayeh@8918 32 make -j1 && make DESTDIR=$PWD/_pkg 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