wok-next annotate cromfs/receipt @ rev 6036
icedtea6-jdk: use gjar
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 16 18:22:47 2010 +0200 (2010-08-16) |
parents | 8fa4196121d4 |
children | c90959c0a6b8 |
rev | line source |
---|---|
pascal@366 | 1 # SliTaz package receipt. |
pascal@366 | 2 |
pascal@366 | 3 PACKAGE="cromfs" |
pankso@4162 | 4 VERSION="1.5.8.9" |
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@4999 | 8 DEPENDS="fuse lzma lzo libgomp" |
pankso@4162 | 9 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev" |
pankso@4162 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2548 | 11 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html" |
pascal@366 | 12 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" |
pascal@1834 | 13 PROVIDE="cromfs-or-squashfs" |
pascal@366 | 14 |
pascal@366 | 15 # Rules to configure and make the package. |
pascal@366 | 16 compile_rules() |
pascal@366 | 17 { |
pascal@366 | 18 cd $src |
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 && |
pankso@4162 | 24 make |
pascal@366 | 25 } |
pascal@366 | 26 |
pascal@366 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@366 | 28 genpkg_rules() |
pascal@366 | 29 { |
pascal@366 | 30 mkdir -p $fs/usr/bin $fs/bin |
pankso@4162 | 31 cp $src/cromfs-driver $fs/bin |
pankso@4162 | 32 # Maybe have a plited packages (cromfs-static) |
pankso@4162 | 33 #cp $src/cromfs-driver-static $fs/bin/cromfs-driver |
pankso@4162 | 34 cp $src/util/cvcromfs $fs/usr/bin |
pankso@4162 | 35 cp $src/util/mkcromfs $fs/usr/bin |
pankso@4162 | 36 cp $src/util/unmkcromfs $fs/bin |
pascal@366 | 37 } |