wok diff fusecloop/receipt @ rev 13095
Add lapack
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jun 26 15:15:18 2012 +0000 (2012-06-26) |
parents | eec0b2ea3e5b |
children | b2a632fc9587 |
line diff
1.1 --- a/fusecloop/receipt Sat Feb 18 12:07:54 2012 +0100 1.2 +++ b/fusecloop/receipt Tue Jun 26 15:15:18 2012 +0000 1.3 @@ -8,7 +8,10 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://fusecloop.sourceforge.net/" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 -DEPENDS="fuse zlib" 1.8 +ADVANCECOMP_VERSION="1.15" 1.9 +ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz" 1.10 +ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL" 1.11 +DEPENDS="fuse zlib gcc-lib-base" 1.12 BUILD_DEPENDS="fuse-dev zlib-dev" 1.13 SUGGESTED="fuseiso" 1.14 1.15 @@ -16,11 +19,22 @@ 1.16 compile_rules() 1.17 { 1.18 cd $src 1.19 + [ -s $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL ] || 1.20 + wget -P $SOURCES_REPOSITORY $ADVANCECOMP_URL 1.21 + tar xzf $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL 1.22 sed -i 's/dprintf/d_printf/g' *.h *.c 1.23 patch -p0 < $stuff/fusecloop.u 1.24 + ADVANCECOMP=advancecomp-$ADVANCECOMP_VERSION 1.25 + cp *.h *.c $ADVANCECOMP 1.26 + cp create_compressed_fs.c $ADVANCECOMP/redef.cc 1.27 + sed -i 's/def FIND_BEST_COMPRESSION/ 1/' $ADVANCECOMP/redef.cc 1.28 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.29 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.30 - make 1.31 + make && 1.32 + cd $ADVANCECOMP && 1.33 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.34 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.35 + make advdef 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 @@ -29,6 +43,6 @@ 1.40 mkdir -p $fs/usr/bin 1.41 cp $src/fusecloop $fs/usr/bin 1.42 cp $src/extract_compressed_fs $fs/usr/bin 1.43 - cp $src/create_compressed_fs $fs/usr/bin 1.44 + cp $src/advancecomp-*/advdef $fs/usr/bin/create_compressed_fs 1.45 } 1.46