wok-stable diff cromfs/receipt @ rev 4200
atm-tools: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 21:35:45 2009 +0200 (2009-09-23) |
parents | 4678e390eeaf |
children | 39011a13b555 |
line diff
1.1 --- a/cromfs/receipt Thu Mar 26 10:53:40 2009 +0000 1.2 +++ b/cromfs/receipt Wed Sep 23 21:35:45 2009 +0200 1.3 @@ -1,13 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="cromfs" 1.7 -VERSION="1.5.4" 1.8 +VERSION="1.5.8.9" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Compressed read only filesystem implemented with FUSE." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 -BUILD_DEPENDS="fuse-dev" 1.13 -DEPENDS="fuse lzma" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +DEPENDS="fuse lzma lzo" 1.16 +BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html" 1.19 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" 1.20 PROVIDE="cromfs-or-squashfs" 1.21 @@ -16,21 +16,22 @@ 1.22 compile_rules() 1.23 { 1.24 cd $src 1.25 - for i in FBLOCK_CACHE_MAX_SIZE.u openmp.u ; do 1.26 - [ -f done.$i ] && continue 1.27 - patch -p1 < ../stuff/$i 1.28 - touch done.$i 1.29 - done 1.30 - chmod +x configure 1.31 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.32 - make install 1.33 + sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \ 1.34 + cromfs.cc 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 + $CONFIGURE_ARGS && 1.38 + make 1.39 } 1.40 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 mkdir -p $fs/usr/bin $fs/bin 1.45 - cp $src/install/progs/mkcromfs $fs/usr/bin 1.46 - cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver 1.47 - cp $src/install/progs/unmkcromfs $fs/bin 1.48 + cp $src/cromfs-driver $fs/bin 1.49 + # Maybe have a plited packages (cromfs-static) 1.50 + #cp $src/cromfs-driver-static $fs/bin/cromfs-driver 1.51 + cp $src/util/cvcromfs $fs/usr/bin 1.52 + cp $src/util/mkcromfs $fs/usr/bin 1.53 + cp $src/util/unmkcromfs $fs/bin 1.54 }