wok annotate libffcall/receipt @ rev 4645
linux-source: add missing files.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 26 11:02:36 2009 +0100 (2009-12-26) |
parents | |
children | 39f586a2b014 |
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 { |
paul@4579 | 15 # No official tarball - so we have to use cvs. |
paul@4579 | 16 cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall |
paul@4579 | 17 |
paul@4579 | 18 # $src = $PACKAGE-$VERSION |
paul@4579 | 19 mv ffcall $PACKAGE-$VERSION 2>/dev/null |
paul@4579 | 20 cd $src |
paul@4579 | 21 ./configure \ |
paul@4579 | 22 --prefix=/usr \ |
paul@4579 | 23 --infodir=/usr/share/info \ |
paul@4579 | 24 --mandir=/usr/share/man \ |
paul@4579 | 25 $CONFIGURE_ARGS && |
paul@4579 | 26 make && make DESTDIR=$PWD/_pkg install |
paul@4579 | 27 } |
paul@4579 | 28 |
paul@4579 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4579 | 30 genpkg_rules() |
paul@4579 | 31 { |
paul@4579 | 32 mkdir -p $fs/usr/lib |
paul@4579 | 33 cp -a $_pkg/usr/lib $fs/usr |
paul@4579 | 34 cp -a $_pkg/usr/include $fs/usr |
paul@4579 | 35 } |
paul@4579 | 36 |