wok-current annotate cromfs/receipt @ rev 20720

updated aqualung (0.9beta10 -> 1.02)
author Hans-G?nter Theisgen
date Fri Feb 08 15:11:05 2019 +0100 (2019-02-08)
parents ae4250c3df92
children 2a0479881723
rev   line source
pascal@366 1 # SliTaz package receipt.
pascal@366 2
pascal@366 3 PACKAGE="cromfs"
pascal@19984 4 VERSION="1.5.10.2"
pascal@366 5 CATEGORY="system-tools"
pascal@366 6 SHORT_DESC="Compressed read only filesystem implemented with FUSE."
pascal@366 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15143 8 LICENSE="GPL3"
pankso@4162 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://bisqwit.iki.fi/source/cromfs.html"
pascal@20669 11 WGET_URL="https://bisqwit.iki.fi/src/arch/$TARBALL"
pascal@366 12
pascal@15143 13 DEPENDS="fuse lzma lzo libgomp"
pascal@15143 14 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
pascal@15143 15
pascal@366 16 # Rules to configure and make the package.
pascal@366 17 compile_rules()
pascal@366 18 {
pankso@4162 19 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
pankso@4162 20 cromfs.cc
pankso@4162 21 ./configure \
pankso@4162 22 --prefix=/usr \
pankso@4162 23 $CONFIGURE_ARGS &&
pascal@19706 24 make -j 1 2>&1 | grep -v cromfs-driver-static
pascal@15143 25 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
pascal@15143 26 cp $src/cromfs-driver $DESTDIR/bin
slaxemulator@8770 27 # Maybe have a plited packages (cromfs-static)
pascal@15602 28 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver
pascal@15143 29 cp $src/util/cvcromfs $DESTDIR/usr/bin
pascal@15143 30 cp $src/util/mkcromfs $DESTDIR/usr/bin
pascal@15143 31 cp $src/util/unmkcromfs $DESTDIR/bin
pascal@366 32 }
pascal@366 33
pascal@366 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@366 35 genpkg_rules()
pascal@366 36 {
pascal@15143 37 cp -a $install/usr $fs
pascal@15143 38 cp -a $install/bin $fs
pascal@366 39 }