wok-6.x view cromfs/receipt @ rev 6435
Up: irssi-scripts to 2.0
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Mon Sep 27 18:01:01 2010 +0000 (2010-09-27) |
parents | 8fa4196121d4 |
children | c90959c0a6b8 |
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 libgomp"
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 }