wok-next annotate libstatgrab/receipt @ rev 20018
Add libxkbcommon-wayland, screengrab, wayland-protocols; up compton, dbus, libdbusmenu-qt, libstatgrab, libxkbcommon, lm-sensors, lxterminal, menu-cache, qjson, qlipper, qps, upower, xdg-user-dirs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 22 04:01:51 2017 +0300 (2017-10-22) |
parents | 0a667524ce79 |
children | 5841522533ec |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
pankso@13503 | 2 |
pankso@13503 | 3 PACKAGE="libstatgrab" |
al@20018 | 4 VERSION="0.91" |
pankso@13503 | 5 CATEGORY="system-tools" |
al@19957 | 6 SHORT_DESC="Provides statistics about the system on which it's run" |
pankso@13503 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
al@20018 | 9 WEB_SITE="https://www.i-scream.org/libstatgrab/" |
al@20018 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libstatgrab.html" |
al@19957 | 11 |
pankso@13503 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20018 | 13 WGET_URL="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/$TARBALL" |
pankso@13503 | 14 |
al@20018 | 15 BUILD_DEPENDS="perl" |
al@19957 | 16 SPLIT="libstatgrab-dev" |
pankso@13503 | 17 |
al@19957 | 18 compile_rules() { |
al@20018 | 19 ./configure \ |
al@20018 | 20 --disable-static \ |
al@20018 | 21 --docdir=/usr/share/doc/libstatgrab-$VERSION \ |
al@20018 | 22 $CONFIGURE_ARGS && |
al@20018 | 23 make && |
al@20018 | 24 make install |
pankso@13503 | 25 } |
pankso@13503 | 26 |
al@19957 | 27 genpkg_rules() { |
al@19957 | 28 case $PACKAGE in |
al@19957 | 29 libstatgrab) |
al@19957 | 30 copy @std |
al@19957 | 31 DEPENDS="ncurses" |
al@19957 | 32 ;; |
al@19957 | 33 *-dev) |
al@19957 | 34 copy @dev |
al@19957 | 35 ;; |
al@19957 | 36 esac |
pankso@13503 | 37 } |