wok annotate ftop/receipt @ rev 24911
updated mlvpn (2.3.4 -> 2.3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 15:36:09 2022 +0100 (2022-04-09) |
parents | e3f377fbc5f0 |
children | 4b3fc3102e2d |
rev | line source |
---|---|
paul@16355 | 1 # SliTaz package receipt. |
paul@16355 | 2 |
paul@16355 | 3 PACKAGE="ftop" |
paul@16355 | 4 VERSION="1.0" |
paul@16355 | 5 CATEGORY="utilities" |
paul@16355 | 6 SHORT_DESC="Show progress of open files and file systems." |
paul@16355 | 7 MAINTAINER="paul@slitaz.org" |
paul@16355 | 8 LICENSE="GPL2.1" |
paul@16355 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20673 | 10 WEB_SITE="https://sourceforge.net/projects/ftop/" |
paul@16355 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@16355 | 12 |
paul@16355 | 13 DEPENDS="ncurses" |
paul@16355 | 14 BUILD_DEPENDS="ncurses-dev" |
paul@16355 | 15 |
pascal@24385 | 16 # What is the latest version available today? |
pascal@24385 | 17 current_version() |
pascal@24385 | 18 { |
pascal@24385 | 19 wget -O - https://sourceforge.net/projects/ftop/files/ftop/ 2>/dev/null | \ |
pascal@24385 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 21 sed '/scope="row/!d;s|.*/ftop/||;s|/.*||;q' |
pascal@24385 | 22 } |
pascal@24385 | 23 |
paul@16355 | 24 # Rules to configure and make the package. |
paul@16355 | 25 compile_rules() |
paul@16355 | 26 { |
paul@16355 | 27 cd $src |
paul@16355 | 28 ./configure \ |
paul@16355 | 29 --prefix=/usr \ |
paul@16355 | 30 make && make DESTDIR=$DESTDIR install |
paul@16355 | 31 } |
paul@16355 | 32 |
paul@16355 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16355 | 34 genpkg_rules() |
paul@16355 | 35 { |
paul@16355 | 36 mkdir -p $fs/usr |
paul@16355 | 37 cp -a $install/usr/bin $fs/usr |
paul@16355 | 38 } |
paul@16355 | 39 |