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