wok view cromfs/receipt @ rev 20210
syslinux: remove memtest & ipxe entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 11:14:17 2018 +0100 (2018-02-24) |
parents | 7c3a8f7af451 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cromfs"
4 VERSION="1.5.10.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compressed read only filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html"
11 WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL"
13 DEPENDS="fuse lzma lzo libgomp"
14 BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
20 cromfs.cc
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make -j 1 2>&1 | grep -v cromfs-driver-static
25 mkdir -p $DESTDIR/bin $DESTDIR/usr/bin
26 cp $src/cromfs-driver $DESTDIR/bin
27 # Maybe have a plited packages (cromfs-static)
28 #cp $src/cromfs-driver-static $DESTDIR/bin/cromfs-driver
29 cp $src/util/cvcromfs $DESTDIR/usr/bin
30 cp $src/util/mkcromfs $DESTDIR/usr/bin
31 cp $src/util/unmkcromfs $DESTDIR/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 cp -a $install/bin $fs
39 }