wok-next view cromfs/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | ee5c8b018b62 |
children | d43bf7aae921 |
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 }