wok annotate duc/receipt @ rev 25359
updated tinyssh (20210601 -> 20220311)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 08:03:11 2022 +0100 (2022-07-27) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@21062 | 1 # SliTaz package receipt. |
pascal@21062 | 2 |
pascal@21062 | 3 PACKAGE="duc" |
pascal@21062 | 4 VERSION="1.4.4" |
pascal@21062 | 5 CATEGORY="base-system" |
pascal@21062 | 6 SHORT_DESC="Tools for inspecting and visualizing disk usage" |
pascal@21062 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21063 | 8 LICENSE="LGPL3" |
pascal@21062 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@22632 | 10 WEB_SITE="https://github.com/zevv/duc" |
pascal@22632 | 11 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" |
pascal@21062 | 12 |
pascal@21062 | 13 DEPENDS="ncursesw pango tokyocabinet" |
pascal@21062 | 14 BUILD_DEPENDS="ncursesw-dev pango-dev tokyocabinet-dev" |
pascal@21062 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24079 | 18 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \ |
pascal@24079 | 19 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@21062 | 22 # Rules to configure and make the package. |
pascal@21062 | 23 compile_rules() |
pascal@21062 | 24 { |
pascal@21062 | 25 sed -i 's|ncursesw/ncurses.h|ncurses.h|' src/duc/cmd-ui.c |
pascal@21062 | 26 ./configure --prefix=/usr \ |
pascal@21062 | 27 --mandir=/usr/share/man \ |
pascal@21062 | 28 $CONFIGURE_ARGS && |
pascal@21062 | 29 make && |
pascal@21062 | 30 make DESTDIR=$DESTDIR install |
pascal@21062 | 31 } |
pascal@21062 | 32 |
pascal@21062 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21062 | 34 genpkg_rules() |
pascal@21062 | 35 { |
pascal@21062 | 36 mkdir -p $fs/usr |
pascal@21062 | 37 cp -a $install/usr/bin $fs/usr |
pascal@21062 | 38 } |