wok-next annotate cromfs/receipt @ rev 7436

Up: cache to 3.1.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 29 05:08:22 2010 +0000 (2010-11-29)
parents 39011a13b555
children e12f875259b8
rev   line source
pascal@366 1 # SliTaz package receipt.
pascal@366 2
pascal@366 3 PACKAGE="cromfs"
slaxemulator@6509 4 VERSION="1.5.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"
pascal@4999 8 DEPENDS="fuse lzma lzo libgomp"
slaxemulator@6509 9 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
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 }