wok annotate ncdu/receipt @ rev 25357

updated tintin++ (2.02.02 -> 2.02.20)
author Hans-G?nter Theisgen
date Wed Jul 27 06:59:00 2022 +0100 (2022-07-27)
parents 241fb98cab1c
children
rev   line source
paul@4892 1 # SliTaz package receipt.
paul@4892 2
paul@4892 3 PACKAGE="ncdu"
Hans-G?nter@24959 4 VERSION="1.16"
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@24959 14 DEPENDS="ncurses 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 {
Hans-G?nter@24959 39 cook_copy_folders bin
paul@4892 40 }