wok-current view libffcall/receipt @ rev 15078

grub: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 17:02:48 2013 +0000 (2013-08-13)
parents 3ca7697bc251
children 6c3718ca17b6
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/libffcall/"
10 WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall"
11 CVS_MODULE="ffcall"
13 DEPENDS=""
14 BUILD_DEPENDS="cvs"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 #TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
20 #if [ -f $TARBALL ]; then
21 #tar xzf $TARBALL
22 #else
23 # No official tarball - so we have to use cvs.
24 #cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
26 # $src = $PACKAGE-$VERSION
27 #mv ffcall $PACKAGE-$VERSION 2>/dev/null
28 #tar czf $TARBALL $PACKAGE-$VERSION
29 #fi
30 cd $src
31 ./configure $CONFIGURE_ARGS &&
32 make -j1 && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $_pkg/usr/lib $fs/usr
40 cp -a $_pkg/usr/include $fs/usr
41 }