wok annotate ncdu/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 300204973261 |
children | 241fb98cab1c |
rev | line source |
---|---|
paul@4892 | 1 # SliTaz package receipt. |
paul@4892 | 2 |
paul@4892 | 3 PACKAGE="ncdu" |
Hans-G?nter@23229 | 4 VERSION="1.14.2" |
paul@4892 | 5 CATEGORY="utilities" |
paul@4892 | 6 SHORT_DESC="NCurses Disk Usage." |
paul@4892 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
Hans-G?nter@21524 | 9 WEB_SITE="https://dev.yorhel.nl/ncdu" |
Hans-G?nter@21524 | 10 |
paul@4892 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@19353 | 12 WGET_URL="https://dev.yorhel.nl/download/$TARBALL" |
paul@4892 | 13 |
Hans-G?nter@23229 | 14 DEPENDS="ncursesw" |
Hans-G?nter@23229 | 15 BUILD_DEPENDS="ncursesw-dev" |
pascal@15601 | 16 |
paul@4892 | 17 # Rules to configure and make the package. |
paul@4892 | 18 compile_rules() |
paul@4892 | 19 { |
Hans-G?nter@21524 | 20 ./configure \ |
Hans-G?nter@21524 | 21 --prefix=/usr \ |
Hans-G?nter@21524 | 22 --infodir=/usr/share/info \ |
Hans-G?nter@21524 | 23 --mandir=/usr/share/man \ |
paul@4892 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21524 | 25 make && |
Hans-G?nter@21524 | 26 make install |
paul@4892 | 27 } |
paul@4892 | 28 |
paul@4892 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4892 | 30 genpkg_rules() |
paul@4892 | 31 { |
paul@4892 | 32 mkdir -p $fs/usr |
Hans-G?nter@23229 | 33 cp -a $install/usr/bin $fs/usr |
paul@4892 | 34 } |