wok view cromfs/receipt @ rev 11084

cloudvpn: Fixed WEB_SITE and WGET_URL.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 02:11:40 2011 +0000 (2011-10-17)
parents c90959c0a6b8
children c45528294132
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.9.1"
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 pkg-config coreutils-file-format perl"
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 mkdir -p $PWD/_pkg/bin $PWD/_pkg/usr/bin
26 cp $src/cromfs-driver $PWD/_pkg/bin
27 # Maybe have a plited packages (cromfs-static)
28 #cp $src/cromfs-driver-static $PWD/_pkg/bin/cromfs-driver
29 cp $src/util/cvcromfs $PWD/_pkg/usr/bin
30 cp $src/util/mkcromfs $PWD/_pkg/usr/bin
31 cp $src/util/unmkcromfs $PWD/_pkg/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $_pkg/usr $fs
38 cp -a $_pkg/bin $fs
39 }