wok-stable annotate cromfs/receipt @ rev 4343

Up: slitaz-tools (3.3) - Lots of improvment and fixes
author Christophe Lincoln <pankso@slitaz.org>
date Thu Oct 01 22:02:51 2009 +0200 (2009-10-01)
parents 4678e390eeaf
children 39011a13b555
rev   line source
pascal@366 1 # SliTaz package receipt.
pascal@366 2
pascal@366 3 PACKAGE="cromfs"
pankso@4162 4 VERSION="1.5.8.9"
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"
pankso@4162 8 DEPENDS="fuse lzma lzo"
pankso@4162 9 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev"
pankso@4162 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@2548 11 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html"
pascal@366 12 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL"
pascal@1834 13 PROVIDE="cromfs-or-squashfs"
pascal@366 14
pascal@366 15 # Rules to configure and make the package.
pascal@366 16 compile_rules()
pascal@366 17 {
pascal@366 18 cd $src
pankso@4162 19 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
pankso@4162 20 cromfs.cc
pankso@4162 21 ./configure \
pankso@4162 22 --prefix=/usr \
pankso@4162 23 $CONFIGURE_ARGS &&
pankso@4162 24 make
pascal@366 25 }
pascal@366 26
pascal@366 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@366 28 genpkg_rules()
pascal@366 29 {
pascal@366 30 mkdir -p $fs/usr/bin $fs/bin
pankso@4162 31 cp $src/cromfs-driver $fs/bin
pankso@4162 32 # Maybe have a plited packages (cromfs-static)
pankso@4162 33 #cp $src/cromfs-driver-static $fs/bin/cromfs-driver
pankso@4162 34 cp $src/util/cvcromfs $fs/usr/bin
pankso@4162 35 cp $src/util/mkcromfs $fs/usr/bin
pankso@4162 36 cp $src/util/unmkcromfs $fs/bin
pascal@366 37 }