wok-current view ncdu/receipt @ rev 25453

BootProg/boot16.asm: too small fat16 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 17 08:17:46 2022 +0000 (2022-09-17)
parents 241fb98cab1c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ncdu"
4 VERSION="1.16"
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="ncurses 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 cook_copy_folders bin
40 }