wok-next annotate libstatgrab/receipt @ rev 20959
Fix minicom
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 06 11:27:41 2018 +0200 (2018-09-06) |
parents | e756329576c3 |
children | f48456621a9d |
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 $CONFIGURE_ARGS && |
al@20595 | 22 fix libtool && |
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 } |