wok-6.x annotate cromfs/receipt @ rev 15921

linux: fix build for arm
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 18 22:42:59 2014 +0100 (2014-02-18)
parents eb8067417980
children 7c3a8f7af451
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@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 {
pascal@366 19 cd $src
pankso@4162 20 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
pankso@4162 21 cromfs.cc
pankso@4162 22 ./configure \
pankso@4162 23 --prefix=/usr \
pankso@4162 24 $CONFIGURE_ARGS &&
pascal@15143 25 make 2>&1 | grep -v cromfs-driver-static
pascal@15143 26 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
pascal@15143 27 cp $src/cromfs-driver $DESTDIR/bin
slaxemulator@8770 28 # Maybe have a plited packages (cromfs-static)
pascal@15602 29 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver
pascal@15143 30 cp $src/util/cvcromfs $DESTDIR/usr/bin
pascal@15143 31 cp $src/util/mkcromfs $DESTDIR/usr/bin
pascal@15143 32 cp $src/util/unmkcromfs $DESTDIR/bin
pascal@366 33 }
pascal@366 34
pascal@366 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@366 36 genpkg_rules()
pascal@366 37 {
pascal@15143 38 cp -a $install/usr $fs
pascal@15143 39 cp -a $install/bin $fs
pascal@366 40 }