wok view cromfs/receipt @ rev 19611
busybox: replace 1.25 stuff by 1.26 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 16:36:32 2017 +0100 (2017-01-08) |
parents | eb8067417980 |
children | 7c3a8f7af451 |
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 cd $src
20 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
21 cromfs.cc
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make 2>&1 | grep -v cromfs-driver-static
26 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
27 cp $src/cromfs-driver $DESTDIR/bin
28 # Maybe have a plited packages (cromfs-static)
29 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver
30 cp $src/util/cvcromfs $DESTDIR/usr/bin
31 cp $src/util/mkcromfs $DESTDIR/usr/bin
32 cp $src/util/unmkcromfs $DESTDIR/bin
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 cp -a $install/bin $fs
40 }