wok-next view libgtop/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 15a885f1b53a |
children | 25deb7c6df08 |
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/stable/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 && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 libgtop)
25 copy @std
26 DEPENDS="glib libffi pcre xorg-libXau"
27 ;;
28 *-dev)
29 copy @dev
30 DEPENDS="libgtop glib-dev libffi-dev pcre-dev xorg-libXau-dev"
31 ;;
32 esac
33 }