wok annotate zerofree/receipt @ rev 20062

Up zstd (1.3.1), syslinux/c32box fix loadcustominitrd()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 22 15:56:58 2017 +0200 (2017-09-22)
parents 4851cb6b7410
children 1b219c924233
rev   line source
pascal@17206 1 # SliTaz package receipt.
pascal@17206 2
pascal@17206 3 PACKAGE="zerofree"
pascal@20042 4 VERSION="1.1.0"
pascal@17206 5 CATEGORY="base-system"
pascal@17206 6 SHORT_DESC="Keeping filesystem images sparse."
pascal@17206 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17206 8 LICENSE="GPL2"
pascal@17206 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@20042 10 WEB_SITE="https://frippery.org/uml/"
pascal@17206 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@17206 12
pascal@17206 13 DEPENDS="e2fsprogs"
pascal@17206 14 BUILD_DEPENDS="e2fsprogs-dev"
pascal@17206 15
pascal@17206 16 # Rules to configure and make the package.
pascal@17206 17 compile_rules()
pascal@17206 18 {
pascal@19794 19 sed -i 's/-lext2fs/& -lcom_err/' Makefile
pascal@17206 20 make
pascal@17206 21 }
pascal@17206 22
pascal@17206 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17206 24 genpkg_rules()
pascal@17206 25 {
pascal@17206 26 mkdir -p $fs/usr/bin
pascal@17206 27 cp -a $src/zerofree $fs/usr/bin
pascal@17206 28 }