wok-next annotate cromfs/receipt @ rev 3506

Depends: xorg-libXp
author Matthew Sheets <rcx@zoominternet.net>
date Fri Jun 19 12:41:39 2009 +0000 (2009-06-19)
parents 8eef41ad667a
children 8fa4196121d4
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"
pankso@2547 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2548 11 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.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 }