wok-current view cromfs/receipt @ rev 2561

bind: add db.255
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 27 22:07:54 2009 +0000 (2009-03-27)
parents 8eef41ad667a
children 8fa4196121d4
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compressed read only filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="fuse-dev"
9 DEPENDS="fuse lzma"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 for i in FBLOCK_CACHE_MAX_SIZE.u openmp.u ; do
20 [ -f done.$i ] && continue
21 patch -p1 < ../stuff/$i
22 touch done.$i
23 done
24 chmod +x configure
25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/bin
33 cp $src/install/progs/mkcromfs $fs/usr/bin
34 cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver
35 cp $src/install/progs/unmkcromfs $fs/bin
36 }