wok-next annotate 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
rev   line source
al@20527 1 # SliTaz package receipt v2.
pascal@366 2
pascal@366 3 PACKAGE="cromfs"
pascal@15143 4 VERSION="1.5.10.1"
pascal@366 5 CATEGORY="system-tools"
al@20527 6 SHORT_DESC="Compressed read only filesystem implemented with FUSE"
pascal@366 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15143 8 LICENSE="GPL3"
al@20972 9 WEB_SITE="https://bisqwit.iki.fi/source/cromfs.html"
al@20527 10
pankso@4162 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20972 12 WGET_URL="https://bisqwit.iki.fi/src/arch/$TARBALL"
pascal@366 13
al@20527 14 BUILD_DEPENDS="fuse2-dev lzo-dev coreutils-file-format perl"
pascal@15143 15
al@20527 16 compile_rules() {
pankso@4162 17 sed -i s'/FBLOCK_CACHE_MAX_SIZE = 10/FBLOCK_CACHE_MAX_SIZE = 4/' \
pankso@4162 18 cromfs.cc
al@20527 19
pankso@4162 20 ./configure \
pankso@4162 21 --prefix=/usr \
pankso@4162 22 $CONFIGURE_ARGS &&
al@21020 23 make -j1 || return 1
al@20527 24
al@21020 25 mkdir -p $install/bin $install/usr/bin
al@21020 26 cp $src/cromfs-driver $install/bin
slaxemulator@8770 27 # Maybe have a plited packages (cromfs-static)
al@21020 28 #cp $src/cromfs-driver-static $install/bin/cromfs-driver
al@21020 29 cp $src/util/cvcromfs $install/usr/bin
al@21020 30 cp $src/util/mkcromfs $install/usr/bin
al@21020 31 cp $src/util/unmkcromfs $install/bin
pascal@366 32 }
pascal@366 33
al@20527 34 genpkg_rules() {
al@20527 35 copy @std
al@20527 36 DEPENDS="fuse2 lzma lzo libgomp"
pascal@366 37 }