wok-next view libindicator-gtk3/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libindicator-gtk3"
4 VERSION="12.10.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of symbols and convenience functions for Ayatana indicators (GTK+3)"
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="gtk3-dev glib-dev automake libtool"
15 SPLIT="$PACKAGE-dev"
16 SIBLINGS="libindicator-gtk2"
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=3 \
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-gtk3)
38 copy @std
39 rm -r $fs/usr/share
40 DEPENDS="gdk-pixbuf glib gtk3"
41 ;;
42 *-dev)
43 copy @dev 80indicator-debugging
44 DEPENDS="libindicator-gtk3 gtk3-dev"
45 ;;
46 esac
47 }