wok-stable rev 366
Add: cromfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 00:40:08 2008 +0100 (2008-03-08) |
parents | c678d87787b2 |
children | f02d1e043e4a |
files | cromfs/receipt cromfs/stuff/FBLOCK_CACHE_MAX_SIZE.u cromfs/stuff/openmp.u |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cromfs/receipt Sat Mar 08 00:40:08 2008 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cromfs" 1.7 +VERSION="1.5.4" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Compressed read only filesystem implemented with FUSE." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +BUILD_DEPENDS="fuse-dev" 1.12 +DEPENDS="fuse lzma" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://bisqwit.iki.fi/source/cromts.html" 1.15 +WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + patch -p1 < ../stuff/FBLOCK_CACHE_MAX_SIZE.u 1.22 + patch -p1 < ../stuff/openmp.u 1.23 + chmod +x configure 1.24 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.25 + make install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/bin $fs/bin 1.32 + cp $src/install/progs/mkcromfs $fs/usr/bin 1.33 + cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver 1.34 + cp $src/install/progs/unmkcromfs $fs/bin 1.35 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/cromfs/stuff/FBLOCK_CACHE_MAX_SIZE.u Sat Mar 08 00:40:08 2008 +0100 2.3 @@ -0,0 +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 + unsigned READDIR_CACHE_MAX_SIZE = 5; 2.8 +-unsigned FBLOCK_CACHE_MAX_SIZE = 10; 2.9 ++unsigned FBLOCK_CACHE_MAX_SIZE = 4; 2.10 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/cromfs/stuff/openmp.u Sat Mar 08 00:40:08 2008 +0100 3.3 @@ -0,0 +1,8 @@ 3.4 +--- cromfs-1.5.4/configure 3.5 ++++ cromfs-1.5.4/configure 3.6 +@@ -79,4 +79,3 @@ 3.7 + 3.8 +-do_echo -n "Checking if your compiler supports -fopenmp... " 3.9 +-if cc_check '<stdio.h>' '-fopenmp' 'int x,y[100];for(x=0; x<100;++x)y[x]=5;'; then 3.10 ++if false; then 3.11 + do_echo Yes