wok-next diff fusecloop/receipt @ rev 10731

mirror-tools: Added $TARBALL.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 23:59:33 2011 +0000 (2011-05-28)
parents
children ff0097ff50cd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fusecloop/receipt	Sat May 28 23:59:33 2011 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fusecloop"
     1.7 +VERSION="0.20.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Mount cloop image in user space with fuse."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +DEPENDS="fuse zlib"
    1.15 +BUILD_DEPENDS="fuse-dev zlib-dev"
    1.16 +SUGGESTED="fuseiso"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed -i 's/dprintf/d_printf/g' *.h *.c
    1.23 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.25 +	make
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/bin
    1.32 +	cp $src/fusecloop $fs/usr/bin
    1.33 +	cp $src/extract_compressed_fs $fs/usr/bin
    1.34 +}
    1.35 +