wok-next view libstatgrab/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 0a667524ce79
children 5841522533ec
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/stable/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 --docdir=/usr/share/doc/libstatgrab-$VERSION \
22 $CONFIGURE_ARGS &&
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 }