wok-6.x view cromfs/receipt @ rev 24205

updated perl-extutils-makemaker (7.44 -> 7.64)
author Hans-G?nter Theisgen
date Fri Dec 31 15:32:10 2021 +0100 (2021-12-31)
parents ae4250c3df92
children 2a0479881723
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.10.2"
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="https://bisqwit.iki.fi/source/cromfs.html"
11 WGET_URL="https://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 }