wok annotate cromfs/receipt @ rev 1553
Apply patchs once for bash cromfs cyrus-imapd jwm lsdvd mISDNuser module-init-tools qemu rox-filer xpat2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:55:00 2008 +0000 (2008-10-12) |
parents | 3f5d11d71f9e |
children | ca15fff92039 |
rev | line source |
---|---|
pascal@366 | 1 # SliTaz package receipt. |
pascal@366 | 2 |
pascal@366 | 3 PACKAGE="cromfs" |
pascal@366 | 4 VERSION="1.5.4" |
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@366 | 8 BUILD_DEPENDS="fuse-dev" |
pascal@366 | 9 DEPENDS="fuse lzma" |
pascal@366 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@366 | 11 WEB_SITE="http://bisqwit.iki.fi/source/cromts.html" |
pascal@366 | 12 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" |
pascal@366 | 13 |
pascal@366 | 14 # Rules to configure and make the package. |
pascal@366 | 15 compile_rules() |
pascal@366 | 16 { |
pascal@366 | 17 cd $src |
pascal@1553 | 18 for i in FBLOCK_CACHE_MAX_SIZE.u openmp.u ; do |
pascal@1553 | 19 [ -f done.$i ] && continue |
pascal@1553 | 20 patch -p1 < ../stuff/$i |
pascal@1553 | 21 touch done.$i |
pascal@1553 | 22 done |
pascal@366 | 23 chmod +x configure |
pascal@1553 | 24 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@366 | 25 make install |
pascal@366 | 26 } |
pascal@366 | 27 |
pascal@366 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@366 | 29 genpkg_rules() |
pascal@366 | 30 { |
pascal@366 | 31 mkdir -p $fs/usr/bin $fs/bin |
pascal@366 | 32 cp $src/install/progs/mkcromfs $fs/usr/bin |
pascal@366 | 33 cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver |
pascal@366 | 34 cp $src/install/progs/unmkcromfs $fs/bin |
pascal@366 | 35 } |