wok-current annotate ncdu/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 8baebfa7f33f |
children | b10dd0339358 |
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 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q |
pascal@24453 | 22 } |
pascal@24453 | 23 |
paul@4892 | 24 # Rules to configure and make the package. |
paul@4892 | 25 compile_rules() |
paul@4892 | 26 { |
Hans-G?nter@21524 | 27 ./configure \ |
Hans-G?nter@21524 | 28 --prefix=/usr \ |
Hans-G?nter@21524 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@21524 | 30 --mandir=/usr/share/man \ |
paul@4892 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21524 | 32 make && |
Hans-G?nter@21524 | 33 make install |
paul@4892 | 34 } |
paul@4892 | 35 |
paul@4892 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4892 | 37 genpkg_rules() |
paul@4892 | 38 { |
paul@4892 | 39 mkdir -p $fs/usr |
Hans-G?nter@23229 | 40 cp -a $install/usr/bin $fs/usr |
paul@4892 | 41 } |