wok-current annotate cromfs/receipt @ rev 20056
syslinux: fixes from syslinux git
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 08 15:02:42 2017 +0200 (2017-09-08) |
parents | 7c3a8f7af451 |
children | a78610b2eb47 |
rev | line source |
---|---|
pascal@366 | 1 # SliTaz package receipt. |
pascal@366 | 2 |
pascal@366 | 3 PACKAGE="cromfs" |
pascal@19984 | 4 VERSION="1.5.10.2" |
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@15143 | 8 LICENSE="GPL3" |
pankso@4162 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2548 | 10 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html" |
pascal@366 | 11 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" |
pascal@366 | 12 |
pascal@15143 | 13 DEPENDS="fuse lzma lzo libgomp" |
pascal@15143 | 14 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl" |
pascal@15143 | 15 |
pascal@366 | 16 # Rules to configure and make the package. |
pascal@366 | 17 compile_rules() |
pascal@366 | 18 { |
pankso@4162 | 19 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \ |
pankso@4162 | 20 cromfs.cc |
pankso@4162 | 21 ./configure \ |
pankso@4162 | 22 --prefix=/usr \ |
pankso@4162 | 23 $CONFIGURE_ARGS && |
pascal@19706 | 24 make -j 1 2>&1 | grep -v cromfs-driver-static |
pascal@15143 | 25 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin |
pascal@15143 | 26 cp $src/cromfs-driver $DESTDIR/bin |
slaxemulator@8770 | 27 # Maybe have a plited packages (cromfs-static) |
pascal@15602 | 28 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver |
pascal@15143 | 29 cp $src/util/cvcromfs $DESTDIR/usr/bin |
pascal@15143 | 30 cp $src/util/mkcromfs $DESTDIR/usr/bin |
pascal@15143 | 31 cp $src/util/unmkcromfs $DESTDIR/bin |
pascal@366 | 32 } |
pascal@366 | 33 |
pascal@366 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@366 | 35 genpkg_rules() |
pascal@366 | 36 { |
pascal@15143 | 37 cp -a $install/usr $fs |
pascal@15143 | 38 cp -a $install/bin $fs |
pascal@366 | 39 } |