wok annotate zerofree/receipt @ rev 23821
syslinux: merge init.exe & taziso (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 09:34:09 2020 +0000 (2020-05-28) |
parents | f5fed8df2464 |
children | 922f061231c2 |
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@17206 | 17 # Rules to configure and make the package. |
pascal@17206 | 18 compile_rules() |
pascal@17206 | 19 { |
pascal@19794 | 20 sed -i 's/-lext2fs/& -lcom_err/' Makefile |
pascal@17206 | 21 make |
pascal@17206 | 22 } |
pascal@17206 | 23 |
pascal@17206 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17206 | 25 genpkg_rules() |
pascal@17206 | 26 { |
pascal@17206 | 27 mkdir -p $fs/usr/bin |
pascal@17206 | 28 cp -a $src/zerofree $fs/usr/bin |
pascal@17206 | 29 } |