wok-6.x view cromfs/receipt @ rev 15343
perl: add threads support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 15:37:29 2013 +0000 (2013-09-29) |
parents | e12f875259b8 |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.10.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compressed read only filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html"
11 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL"
12 PROVIDE="cromfs-or-squashfs"
14 DEPENDS="fuse lzma lzo libgomp"
15 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
22 cromfs.cc
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make 2>&1 | grep -v cromfs-driver-static
27 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
28 cp $src/cromfs-driver $DESTDIR/bin
29 # Maybe have a plited packages (cromfs-static)
30 #cp $src/cromfs-driver-static $PWD/_pkg/bin/cromfs-driver
31 cp $src/util/cvcromfs $DESTDIR/usr/bin
32 cp $src/util/mkcromfs $DESTDIR/usr/bin
33 cp $src/util/unmkcromfs $DESTDIR/bin
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 cp -a $install/bin $fs
41 }