wok-6.x annotate xorg-xload/receipt @ rev 25558
Up libqcow (20221124)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 24 09:03:56 2023 +0000 (18 months ago) |
parents | faa868337bbb |
children |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-xload" |
Hans-G?nter@22294 | 4 VERSION="1.1.3" |
pankso@20 | 5 CATEGORY="x-window" |
Hans-G?nter@22294 | 6 SHORT_DESC="X application to show system resources usage." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22294 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22294 | 10 |
pankso@20 | 11 SOURCE="xload" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@20 | 14 |
pankso@12521 | 15 DEPENDS="xorg-libXaw" |
pankso@12521 | 16 BUILD_DEPENDS="xorg-libXaw-dev" |
pankso@12521 | 17 |
Hans-G?nter@22294 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@22294 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@20 | 26 # Rules to configure and make the package. |
pankso@20 | 27 compile_rules() |
pankso@20 | 28 { |
Hans-G?nter@22294 | 29 ./configure \ |
Hans-G?nter@22294 | 30 --mandir=/usr/share/man \ |
pankso@12521 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22294 | 32 make && |
Hans-G?nter@22294 | 33 make install |
pankso@20 | 34 } |
pankso@20 | 35 |
pankso@20 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 37 genpkg_rules() |
pankso@20 | 38 { |
pankso@20 | 39 mkdir -p $fs/usr |
Hans-G?nter@22294 | 40 cp -a $install/usr/bin $fs/usr |
pankso@20 | 41 } |