wok-4.x annotate cromfs/receipt @ rev 2423
xorg-libXvMC: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 11:16:52 2009 +0000 (2009-03-11) |
parents | 65d3dfc87776 |
children | 8eef41ad667a |
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@1834 | 13 PROVIDE="cromfs-or-squashfs" |
pascal@366 | 14 |
pascal@366 | 15 # Rules to configure and make the package. |
pascal@366 | 16 compile_rules() |
pascal@366 | 17 { |
pascal@366 | 18 cd $src |
pascal@1553 | 19 for i in FBLOCK_CACHE_MAX_SIZE.u openmp.u ; do |
pascal@1553 | 20 [ -f done.$i ] && continue |
pascal@1553 | 21 patch -p1 < ../stuff/$i |
pascal@1553 | 22 touch done.$i |
pascal@1553 | 23 done |
pascal@366 | 24 chmod +x configure |
pascal@1553 | 25 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@366 | 26 make install |
pascal@366 | 27 } |
pascal@366 | 28 |
pascal@366 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@366 | 30 genpkg_rules() |
pascal@366 | 31 { |
pascal@366 | 32 mkdir -p $fs/usr/bin $fs/bin |
pascal@366 | 33 cp $src/install/progs/mkcromfs $fs/usr/bin |
pascal@366 | 34 cp $src/install/progs/cromfs-driver-static $fs/bin/cromfs-driver |
pascal@366 | 35 cp $src/install/progs/unmkcromfs $fs/bin |
pascal@366 | 36 } |