wok-next annotate libindicator-gtk2/receipt @ rev 21716
created get-anydesk
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 28 11:20:16 2020 +0100 (2020-07-28) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@20095 | 2 |
al@20095 | 3 PACKAGE="libindicator-gtk2" |
al@20095 | 4 VERSION="12.10.1" |
al@20095 | 5 CATEGORY="x-window" |
al@20095 | 6 SHORT_DESC="Set of symbols and convenience functions for Ayatana indicators (GTK+2)" |
al@20095 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20095 | 8 LICENSE="GPL3" |
al@20095 | 9 WEB_SITE="https://launchpad.net/libindicator" |
al@20095 | 10 |
al@20095 | 11 TARBALL="libindicator-$VERSION.tar.gz" |
al@20095 | 12 WGET_URL="https://launchpad.net/libindicator/${VERSION%.*}/$VERSION/+download/$TARBALL" |
al@20095 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev glib-dev automake libtool" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@20095 | 16 SIBLINGS="libindicator-gtk3" |
al@20095 | 17 |
al@20095 | 18 compile_rules() { |
al@20095 | 19 sed -i 's|\$LIBM| &|; /AM_SILENT_RULES/s|\]$||' configure.ac |
al@20095 | 20 sed -i '/-Werror/ s|$| -Wno-deprecated-declarations|' -i \ |
al@20095 | 21 libindicator/Makefile.am libindicator/Makefile.in |
al@20095 | 22 autoreconf -fi && |
al@20095 | 23 |
al@20095 | 24 ./configure \ |
al@20095 | 25 --libexecdir=/usr/lib/libindicator \ |
al@20095 | 26 --with-gtk=2 \ |
al@20095 | 27 --disable-static \ |
al@20095 | 28 --disable-tests \ |
al@20095 | 29 $CONFIGURE_ARGS && |
al@20534 | 30 fix libtool && |
al@20095 | 31 make && |
al@20095 | 32 make install |
al@20095 | 33 } |
al@20095 | 34 |
al@20095 | 35 genpkg_rules() { |
al@20095 | 36 case $PACKAGE in |
al@20095 | 37 libindicator-gtk2) |
al@20095 | 38 copy @std |
al@20095 | 39 rm -r $fs/usr/share |
al@21017 | 40 DEPENDS="gdk-pixbuf glib gtk2" |
al@20095 | 41 ;; |
al@20095 | 42 *-dev) |
al@20095 | 43 copy @dev 80indicator-debugging |
al@21017 | 44 DEPENDS="libindicator-gtk2 gtk2-dev" |
al@20095 | 45 ;; |
al@20095 | 46 esac |
al@20095 | 47 } |