wok view cromfs/receipt @ rev 19706
audit: disable some preinstalled packages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 22:13:07 2017 +0100 (2017-02-14) |
parents | ee5c8b018b62 |
children | ae4250c3df92 |
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"
13 DEPENDS="fuse lzma lzo libgomp"
14 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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 -j 1 2>&1 | grep -v cromfs-driver-static
25 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
26 cp $src/cromfs-driver $DESTDIR/bin
27 # Maybe have a plited packages (cromfs-static)
28 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver
29 cp $src/util/cvcromfs $DESTDIR/usr/bin
30 cp $src/util/mkcromfs $DESTDIR/usr/bin
31 cp $src/util/unmkcromfs $DESTDIR/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 cp -a $install/bin $fs
39 }