wok diff libffcall/receipt @ rev 4939

libgd: set gdlib-config executable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 16 21:16:00 2010 +0100 (2010-02-16)
parents
children 39f586a2b014
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libffcall/receipt	Tue Feb 16 21:16:00 2010 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libffcall"
     1.7 +VERSION="20091209"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Foreign function call libraries."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS="cvs"
    1.13 +WEB_SITE="http://www.gnu.org/software/libffcall/"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	# No official tarball - so we have to use cvs.
    1.19 +	cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall
    1.20 +
    1.21 +	# $src = $PACKAGE-$VERSION
    1.22 +	mv ffcall $PACKAGE-$VERSION 2>/dev/null
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +	cp -a $_pkg/usr/include $fs/usr
    1.38 +}
    1.39 +