wok-next view libindicator-gtk2/receipt @ rev 20137

mariadb: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 21:42:04 2017 +0100 (2017-10-31)
parents
children ccb92f8ccaf6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libindicator-gtk2"
4 VERSION="12.10.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of symbols and convenience functions for Ayatana indicators (GTK+2)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/libindicator"
11 TARBALL="libindicator-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/libindicator/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev glib-dev automake libtool"
15 SPLIT="libindicator-gtk2-dev"
16 SIBLINGS="libindicator-gtk3"
18 compile_rules() {
19 sed -i 's|\$LIBM| &|; /AM_SILENT_RULES/s|\]$||' configure.ac
20 sed -i '/-Werror/ s|$| -Wno-deprecated-declarations|' -i \
21 libindicator/Makefile.am libindicator/Makefile.in
22 autoreconf -fi &&
24 ./configure \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --libexecdir=/usr/lib/libindicator \
28 --with-gtk=2 \
29 --disable-static \
30 --disable-tests \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libindicator-gtk2)
39 copy @std
40 rm -r $fs/usr/share
41 DEPENDS="atk-dev bzlib cairo-dev fontconfig-dev freetype-dev \
42 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
43 libindicator-gtk2 libpng16-dev libxml2-dev pango-dev pcre-dev \
44 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
45 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
46 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib"
47 ;;
48 *-dev)
49 copy @dev 80indicator-debugging
50 DEPENDS="libindicator-gtk2 atk-dev bzip2-dev cairo-dev \
51 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \
52 harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
53 pcre-dev util-linux-blkid-dev util-linux-mount-dev \
54 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
55 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
56 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
57 ;;
58 esac
59 }