wok annotate cromfs/receipt @ rev 12877
claws-mail: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 25 13:22:18 2012 +0200 (2012-05-25) |
parents | c90959c0a6b8 |
children | c45528294132 |
rev | line source |
---|---|
pascal@366 | 1 # SliTaz package receipt. |
pascal@366 | 2 |
pascal@366 | 3 PACKAGE="cromfs" |
slaxemulator@8770 | 4 VERSION="1.5.9.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@4999 | 8 DEPENDS="fuse lzma lzo libgomp" |
slaxemulator@6509 | 9 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl" |
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 |
slaxemulator@8770 | 25 mkdir -p $PWD/_pkg/bin $PWD/_pkg/usr/bin |
slaxemulator@8770 | 26 cp $src/cromfs-driver $PWD/_pkg/bin |
slaxemulator@8770 | 27 # Maybe have a plited packages (cromfs-static) |
slaxemulator@8770 | 28 #cp $src/cromfs-driver-static $PWD/_pkg/bin/cromfs-driver |
slaxemulator@8770 | 29 cp $src/util/cvcromfs $PWD/_pkg/usr/bin |
slaxemulator@8770 | 30 cp $src/util/mkcromfs $PWD/_pkg/usr/bin |
slaxemulator@8770 | 31 cp $src/util/unmkcromfs $PWD/_pkg/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 { |
slaxemulator@8770 | 37 cp -a $_pkg/usr $fs |
slaxemulator@8770 | 38 cp -a $_pkg/bin $fs |
pascal@366 | 39 } |