wok-current annotate cromfs/receipt @ rev 15496
Up: firefox-langpack-pt_BR (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:30:01 2013 +0100 (2013-11-17) |
parents | e12f875259b8 |
children | eb8067417980 |
rev | line source |
---|---|
pascal@366 | 1 # SliTaz package receipt. |
pascal@366 | 2 |
pascal@366 | 3 PACKAGE="cromfs" |
pascal@15143 | 4 VERSION="1.5.10.1" |
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@2548 | 10 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html" |
pascal@366 | 11 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" |
pascal@1834 | 12 PROVIDE="cromfs-or-squashfs" |
pascal@366 | 13 |
pascal@15143 | 14 DEPENDS="fuse lzma lzo libgomp" |
pascal@15143 | 15 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl" |
pascal@15143 | 16 |
pascal@366 | 17 # Rules to configure and make the package. |
pascal@366 | 18 compile_rules() |
pascal@366 | 19 { |
pascal@366 | 20 cd $src |
pankso@4162 | 21 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \ |
pankso@4162 | 22 cromfs.cc |
pankso@4162 | 23 ./configure \ |
pankso@4162 | 24 --prefix=/usr \ |
pankso@4162 | 25 $CONFIGURE_ARGS && |
pascal@15143 | 26 make 2>&1 | grep -v cromfs-driver-static |
pascal@15143 | 27 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin |
pascal@15143 | 28 cp $src/cromfs-driver $DESTDIR/bin |
slaxemulator@8770 | 29 # Maybe have a plited packages (cromfs-static) |
slaxemulator@8770 | 30 #cp $src/cromfs-driver-static $PWD/_pkg/bin/cromfs-driver |
pascal@15143 | 31 cp $src/util/cvcromfs $DESTDIR/usr/bin |
pascal@15143 | 32 cp $src/util/mkcromfs $DESTDIR/usr/bin |
pascal@15143 | 33 cp $src/util/unmkcromfs $DESTDIR/bin |
pascal@366 | 34 } |
pascal@366 | 35 |
pascal@366 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@366 | 37 genpkg_rules() |
pascal@366 | 38 { |
pascal@15143 | 39 cp -a $install/usr $fs |
pascal@15143 | 40 cp -a $install/bin $fs |
pascal@366 | 41 } |