wok annotate 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
rev   line source
pascal@366 1 # SliTaz package receipt.
pascal@366 2
pascal@366 3 PACKAGE="cromfs"
pascal@366 4 VERSION="1.5.4"
pascal@366 5 CATEGORY="system-tools"
pascal@366 6 SHORT_DESC="Compressed read only filesystem implemented with FUSE."
pascal@366 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@366 8 BUILD_DEPENDS="fuse-dev"
pascal@366 9 DEPENDS="fuse lzma"
pascal@366 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@366 11 WEB_SITE="http://bisqwit.iki.fi/source/cromts.html"
pascal@366 12 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL"
pascal@366 13
pascal@366 14 # Rules to configure and make the package.
pascal@366 15 compile_rules()
pascal@366 16 {
pascal@366 17 cd $src
pascal@366 18 patch -p1 < ../stuff/FBLOCK_CACHE_MAX_SIZE.u
pascal@366 19 patch -p1 < ../stuff/openmp.u
pascal@366 20 chmod +x configure
pascal@366 21 ./configure --prefix=/usr $CONFIGURE_ARGS
pascal@366 22 make install
pascal@366 23 }
pascal@366 24
pascal@366 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@366 26 genpkg_rules()
pascal@366 27 {
pascal@366 28 mkdir -p $fs/usr/bin $fs/bin
pascal@366 29 cp $src/install/progs/mkcromfs $fs/usr/bin
pascal@366 30 cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver
pascal@366 31 cp $src/install/progs/unmkcromfs $fs/bin
pascal@366 32 }