wok annotate mate-system-monitor/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (20 months ago)
parents 837a2c90d490
children 73f36875e5a7
rev   line source
yuripourre@16988 1 # SliTaz package receipt.
yuripourre@16988 2
yuripourre@16988 3 PACKAGE="mate-system-monitor"
yuripourre@16988 4 VERSION="1.9.0"
yuripourre@16988 5 CATEGORY="utilities"
yuripourre@16988 6 LICENSE="GPL3"
yuripourre@16988 7 SHORT_DESC="MATE's system monitor."
yuripourre@16988 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@16988 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
yuripourre@16988 10 WEB_SITE="http://www.mate-desktop.org/"
yuripourre@16988 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@18280 12 TAGS="MATE"
yuripourre@16988 13 DEPENDS="dconf dbus-glib gtk+ libgtop libwnck librsvg"
yuripourre@16988 14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
yuripourre@16988 15 gtk+-dev gtk-doc dbus-glib-dev glibmm-dev gtkmm-dev libgtop-dev libwnck-dev librsvg-dev \
pascal@19776 16 yelp-tools mate-common-dev mate-icon-theme libcroco-dev"
yuripourre@16988 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
yuripourre@16988 24 # Rules to configure and make the package.
yuripourre@16988 25 compile_rules()
yuripourre@16988 26 {
al@18741 27 ./autogen.sh \
yuripourre@16988 28 --prefix=/usr \
yuripourre@16988 29 --libexecdir=/usr/lib/$PACKAGE \
yuripourre@16988 30 --with-gtk=2.0 \
yuripourre@16988 31 --disable-static \
yuripourre@16988 32 $CONFIGURE_ARGS &&
yuripourre@16988 33 make &&
yuripourre@16988 34 make DESTDIR=$DESTDIR install
yuripourre@16988 35 }
yuripourre@16988 36
yuripourre@16988 37 genpkg_rules()
yuripourre@16988 38 {
yuripourre@16988 39 mkdir -p $fs/usr/share
yuripourre@16988 40 cp -a $install/usr/bin $fs/usr
yuripourre@16988 41 cp -a $install/usr/share/glib-2.0 $fs/usr/share
yuripourre@16988 42 }