wok-current view zerofree/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 1b219c924233 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="zerofree"
4 VERSION="1.1.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Keeping filesystem images sparse."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://frippery.org/uml/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="e2fsprogs"
15 BUILD_DEPENDS="e2fsprogs-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/zerofree-/!d;s|.*-||;s|.t.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/-lext2fs/& -lcom_err/' Makefile
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/zerofree $fs/usr/bin
36 }