wok annotate mate-system-monitor/receipt @ rev 17423
linux-uml: hardlink on fifos, sockets, char & block devices and symlinks in initramfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 04 16:09:50 2014 +0100 (2014-12-04) |
parents | f4ea5dc8f805 |
children | e863f2041090 |
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@16988 | 12 |
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@16989 | 16 yelp-tools mate-common-dev mate-icon-theme" |
yuripourre@16988 | 17 |
yuripourre@16988 | 18 # Rules to configure and make the package. |
yuripourre@16988 | 19 compile_rules() |
yuripourre@16988 | 20 { |
yuripourre@16988 | 21 ./autogen.sh \ |
yuripourre@16988 | 22 --prefix=/usr \ |
yuripourre@16988 | 23 --libexecdir=/usr/lib/$PACKAGE \ |
yuripourre@16988 | 24 --with-gtk=2.0 \ |
yuripourre@16988 | 25 --disable-static \ |
yuripourre@16988 | 26 $CONFIGURE_ARGS && |
yuripourre@16988 | 27 make && |
yuripourre@16988 | 28 make DESTDIR=$DESTDIR install |
yuripourre@16988 | 29 } |
yuripourre@16988 | 30 |
yuripourre@16988 | 31 genpkg_rules() |
yuripourre@16988 | 32 { |
yuripourre@16988 | 33 mkdir -p $fs/usr/share |
yuripourre@16988 | 34 cp -a $install/usr/bin $fs/usr |
yuripourre@16988 | 35 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
yuripourre@16988 | 36 } |
yuripourre@16988 | 37 |
yuripourre@16988 | 38 # Post install/remove commands for Tazpkg. |
yuripourre@16988 | 39 post_install() |
yuripourre@16988 | 40 { |
yuripourre@16988 | 41 echo "Processing post-install commands..." |
yuripourre@16988 | 42 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@16988 | 43 } |
yuripourre@16988 | 44 |
yuripourre@16988 | 45 post_remove() |
yuripourre@16988 | 46 { |
yuripourre@16988 | 47 echo "Processing post-remove commands..." |
yuripourre@16988 | 48 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@16988 | 49 } |