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