wok-stable view cromfs/receipt @ rev 7093
Removed 'echo tazwok cook' form glibmm receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 03:02:17 2010 +0000 (2010-11-03) |
parents | 39011a13b555 |
children | e12f875259b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compressed read only filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="fuse lzma lzo libgomp"
9 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html"
12 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL"
13 PROVIDE="cromfs-or-squashfs"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
20 cromfs.cc
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/bin
31 cp $src/cromfs-driver $fs/bin
32 # Maybe have a plited packages (cromfs-static)
33 #cp $src/cromfs-driver-static $fs/bin/cromfs-driver
34 cp $src/util/cvcromfs $fs/usr/bin
35 cp $src/util/mkcromfs $fs/usr/bin
36 cp $src/util/unmkcromfs $fs/bin
37 }