wok-6.x view zerofree/receipt @ rev 22454
get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:01:01 2019 +0000 (2019-12-26) |
parents | f5fed8df2464 |
children | 922f061231c2 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/-lext2fs/& -lcom_err/' Makefile
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/zerofree $fs/usr/bin
29 }