wok view cromfs/receipt @ rev 1888

Add pmount
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 18 10:45:44 2008 +0000 (2008-12-18)
parents 65d3dfc87776
children 8eef41ad667a
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.bz2"
11 WEB_SITE="http://bisqwit.iki.fi/source/cromts.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 }