wok-4.x rev 4162
Fix: cromfs build, patch (use sed) and update to 1.5.8.9
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 22 15:52:14 2009 +0200 (2009-09-22) |
parents | 2793a5c9ff26 |
children | 9df47d7de942 |
files | cromfs/receipt cromfs/stuff/FBLOCK_CACHE_MAX_SIZE.u |
line diff
1.1 --- a/cromfs/receipt Tue Sep 22 15:06:14 2009 +0200 1.2 +++ b/cromfs/receipt Tue Sep 22 15:52:14 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 }
2.1 --- a/cromfs/stuff/FBLOCK_CACHE_MAX_SIZE.u Tue Sep 22 15:06:14 2009 +0200 2.2 +++ b/cromfs/stuff/FBLOCK_CACHE_MAX_SIZE.u Tue Sep 22 15:52:14 2009 +0200 2.3 @@ -1,7 +1,7 @@ 2.4 ---- cromfs-1.5.4/cromfs.cc 2.5 -+++ cromfs-1.5.4/cromfs.cc 2.6 -@@ -51,3 +51,3 @@ 2.7 +--- cromfs.cc 2.8 ++++ cromfs.cc 2.9 +@@ -57,3 +57,3 @@ 2.10 unsigned READDIR_CACHE_MAX_SIZE = 5; 2.11 -unsigned FBLOCK_CACHE_MAX_SIZE = 10; 2.12 +unsigned FBLOCK_CACHE_MAX_SIZE = 4; 2.13 - 2.14 +