wok-next view libstatgrab/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 5841522533ec
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libstatgrab"
4 VERSION="0.91"
5 CATEGORY="system-tools"
6 SHORT_DESC="Provides statistics about the system on which it's run"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.i-scream.org/libstatgrab/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libstatgrab.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
15 BUILD_DEPENDS="perl"
16 SPLIT="libstatgrab-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libstatgrab)
30 copy @std
31 DEPENDS="ncurses"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }