wok annotate zerofree/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (20 months ago)
parents 1b219c924233
children
rev   line source
pascal@17206 1 # SliTaz package receipt.
pascal@17206 2
pascal@17206 3 PACKAGE="zerofree"
Hans-G?nter@22329 4 VERSION="1.1.1"
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"
Hans-G?nter@22329 9 WEB_SITE="https://frippery.org/uml/"
Hans-G?nter@22329 10
pascal@17206 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@17206 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@17206 13
pascal@17206 14 DEPENDS="e2fsprogs"
pascal@17206 15 BUILD_DEPENDS="e2fsprogs-dev"
pascal@17206 16
pascal@24304 17 # What is the latest version available today?
pascal@24304 18 current_version()
pascal@24304 19 {
pascal@24304 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24304 21 sed '/zerofree-/!d;s|.*-||;s|.t.*||'
pascal@24304 22 }
pascal@24304 23
pascal@17206 24 # Rules to configure and make the package.
pascal@17206 25 compile_rules()
pascal@17206 26 {
pascal@19794 27 sed -i 's/-lext2fs/& -lcom_err/' Makefile
pascal@17206 28 make
pascal@17206 29 }
pascal@17206 30
pascal@17206 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17206 32 genpkg_rules()
pascal@17206 33 {
pascal@17206 34 mkdir -p $fs/usr/bin
pascal@17206 35 cp -a $src/zerofree $fs/usr/bin
pascal@17206 36 }