wok view cromfs/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents a78610b2eb47
children 72f2704d3ae0
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
27 cromfs.cc
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make -j 1 2>&1 | grep -v cromfs-driver-static
32 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
33 cp $src/cromfs-driver $DESTDIR/bin
34 # Maybe have a plited packages (cromfs-static)
35 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver
36 cp $src/util/cvcromfs $DESTDIR/usr/bin
37 cp $src/util/mkcromfs $DESTDIR/usr/bin
38 cp $src/util/unmkcromfs $DESTDIR/bin
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/usr $fs
45 cp -a $install/bin $fs
46 }