wok-next view libgtop/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 342b30daff76
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgtop"
4 VERSION="2.38.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Portable System Access Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/libgtop/stable/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/libgtop.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev intltool xorg-libX11-dev xorg-libXau-dev gtk-doc"
16 SPLIT="libgtop-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libgtop)
28 copy @std
29 DEPENDS="glib xorg-libXau"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libgtop glib-dev"
34 ;;
35 esac
36 }