wok-next view libstatgrab/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children |
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="devel@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="$PACKAGE-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 }