wok-4.x view cromfs/receipt @ rev 5660

Add: linux-dlm (DLM userspace iplementation)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 30 00:48:31 2010 +0200 (2010-05-30)
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 }