wok-next view cromfs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cromfs"
4 VERSION="1.5.10.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compressed read only filesystem implemented with FUSE"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://bisqwit.iki.fi/source/cromfs.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://bisqwit.iki.fi/src/arch/$TARBALL"
14 BUILD_DEPENDS="fuse2-dev lzo-dev coreutils-file-format perl"
16 compile_rules() {
17 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
18 cromfs.cc
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make -j1 || return 1
25 mkdir -p $install/bin $install/usr/bin
26 cp $src/cromfs-driver $install/bin
27 # Maybe have a plited packages (cromfs-static)
28 #cp $src/cromfs-driver-static $install/bin/cromfs-driver
29 cp $src/util/cvcromfs $install/usr/bin
30 cp $src/util/mkcromfs $install/usr/bin
31 cp $src/util/unmkcromfs $install/bin
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="fuse2 lzma lzo libgomp"
37 }