wok-next view libstatgrab/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }