wok-6.x view cromfs/receipt @ rev 4424
Up: pcmanfm (0.5.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 26 11:11:10 2009 +0100 (2009-10-26) |
parents | 4678e390eeaf |
children | 39011a13b555 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.8.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"
9 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev"
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 }