wok-next view xfce4-battery-plugin/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | |
children | 6d367d984b77 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfce4-battery-plugin"
4 VERSION="1.0.5" # v.1.0.5 is the latest with GTK+2 support
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce panel battery plugin"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/src/panel-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="intltool gtk+-dev libxfce4util-dev libxfce4ui-dev \
15 xfce4-panel-dev"
16 SPLIT="xfce4-battery-plugin-dev"
18 compile_rules() {
19 ./configure \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --disable-debug \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 xfce4-battery-plugin)
31 copy @std
32 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
33 libffi libharfbuzz liblzma libpng16 libxfce4ui libxfce4util \
34 libxml2 pango pcre startup-notification util-linux-blkid \
35 util-linux-mount util-linux-uuid xfce4-panel xorg-libICE \
36 xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
37 xorg-libXrender xorg-libxcb xorg-pixman xorg-xcb-util zlib"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xfce4-battery-plugin atk-dev bzip2-dev cairo-dev \
42 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \
43 harfbuzz-dev libffi-dev libpng16-dev libxfce4ui-dev \
44 libxfce4util-dev libxml2-dev pango-dev pcre-dev \
45 startup-notification-dev util-linux-blkid-dev util-linux-mount-dev \
46 util-linux-uuid-dev xfce4-panel-dev xorg-libICE-dev xorg-libSM-dev \
47 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
48 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev \
49 xorg-xcb-util-dev xz-dev zlib-dev"
50 ;;
51 esac
52 TAGS="Xfce"
53 }