wok-current diff cromfs/receipt @ rev 366

Add: cromfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 00:40:08 2008 +0100 (2008-03-08)
parents
children 65d3dfc87776
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cromfs/receipt	Sat Mar 08 00:40:08 2008 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cromfs"
     1.7 +VERSION="1.5.4"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Compressed read only filesystem implemented with FUSE."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +BUILD_DEPENDS="fuse-dev"
    1.12 +DEPENDS="fuse lzma"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://bisqwit.iki.fi/source/cromts.html"
    1.15 +WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	patch -p1 < ../stuff/FBLOCK_CACHE_MAX_SIZE.u
    1.22 +	patch -p1 < ../stuff/openmp.u
    1.23 +	chmod +x configure
    1.24 +	./configure --prefix=/usr $CONFIGURE_ARGS
    1.25 +	make install
    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 $fs/bin
    1.32 +	cp $src/install/progs/mkcromfs $fs/usr/bin
    1.33 +	cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver
    1.34 +	cp $src/install/progs/unmkcromfs $fs/bin
    1.35 +}