wok-6.x view ncdu/receipt @ rev 24467
updated dasm (2.20.11 -> 2.20.14.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 13:54:18 2022 +0100 (2022-02-17) |
parents | 8baebfa7f33f |
children | b10dd0339358 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncdu"
4 VERSION="1.14.2"
5 CATEGORY="utilities"
6 SHORT_DESC="NCurses Disk Usage."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://dev.yorhel.nl/ncdu"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dev.yorhel.nl/download/$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }