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

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 342b30daff76
children d5aab818505e
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="gtk2-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 --libexecdir=/usr/lib/libindicator \
26 --with-gtk=2 \
27 --disable-static \
28 --disable-tests \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 libindicator-gtk2)
38 copy @std
39 rm -r $fs/usr/share
40 DEPENDS="gdk-pixbuf glib gtk2"
41 ;;
42 *-dev)
43 copy @dev 80indicator-debugging
44 DEPENDS="libindicator-gtk2 gtk2-dev"
45 ;;
46 esac
47 }