wok-next annotate mate-sensors-applet/receipt @ rev 20096
Move existing MATE receipts to mate116/stuff (for those who need to update them to v.1.16 w/GTK+2). Update/add whole MATE desktop to current stable v.1.18.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 28 17:50:52 2017 +0300 (2017-10-28) |
parents | |
children | 757d032c55c7 |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
al@20096 | 2 |
al@20096 | 3 PACKAGE="mate-sensors-applet" |
al@20096 | 4 VERSION="1.18.3" |
al@20096 | 5 CATEGORY="x-window" |
al@20096 | 6 SHORT_DESC="Display readings from hardware sensors in your MATE panel" |
al@20096 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20096 | 8 LICENSE="GPL2" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/mate-sensors-applet" |
al@20096 | 10 |
al@20096 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20096 | 12 WGET_URL="https://github.com/mate-desktop/mate-sensors-applet/archive/v$VERSION.tar.gz" |
al@20096 | 13 |
al@20096 | 14 BUILD_DEPENDS="mate-common yelp-tools gtk+3-dev mate-panel-dev dbus-glib-dev \ |
al@20096 | 15 libatasmart-dev libnotify-gtk3-dev lm-sensors-dev libxslt-dev itstool" |
al@20096 | 16 SPLIT="mate-sensors-applet-dev" |
al@20096 | 17 |
al@20096 | 18 compile_rules() { |
al@20096 | 19 ./autogen.sh \ |
al@20096 | 20 --sysconfdir=/etc \ |
al@20096 | 21 --localstatedir=/var \ |
al@20096 | 22 $CONFIGURE_ARGS && |
al@20096 | 23 make && |
al@20096 | 24 make install |
al@20096 | 25 } |
al@20096 | 26 |
al@20096 | 27 genpkg_rules() { |
al@20096 | 28 case $PACKAGE in |
al@20096 | 29 mate-sensors-applet) |
al@20096 | 30 copy @std |
al@20096 | 31 DEPENDS="atk bzlib cairo dbus dbus-glib eudev fontconfig freetype \ |
al@20096 | 32 gdk-pixbuf glib gtk+3 libatasmart libffi libharfbuzz liblzma \ |
al@20096 | 33 libnotify-gtk3 libpng16 libxml2 lm-sensors mate-panel pango pcre \ |
al@20096 | 34 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@20096 | 35 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ |
al@20096 | 36 xorg-pixman zlib" |
al@20096 | 37 ;; |
al@20096 | 38 *-dev) |
al@20096 | 39 copy @dev |
al@20096 | 40 DEPENDS="mate-sensors-applet dbus-dev dbus-glib-dev eudev-dev \ |
al@20096 | 41 glib-dev libatasmart-dev libffi-dev lm-sensors-dev pcre-dev \ |
al@20096 | 42 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@20096 | 43 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@20096 | 44 xorg-libxcb-dev zlib-dev" |
al@20096 | 45 ;; |
al@20096 | 46 esac |
al@20096 | 47 TAGS="MATE" |
al@20096 | 48 } |