wok-next annotate libindicator-gtk3/receipt @ rev 21257
encfs: use cmake
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 13:47:57 2019 +0100 (2019-12-06) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@20095 | 2 |
al@20095 | 3 PACKAGE="libindicator-gtk3" |
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+3)" |
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="gtk3-dev glib-dev automake libtool" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@20095 | 16 SIBLINGS="libindicator-gtk2" |
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=3 \ |
al@20095 | 27 --disable-static \ |
al@20095 | 28 --disable-tests \ |
al@20095 | 29 $CONFIGURE_ARGS && |
al@20577 | 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-gtk3) |
al@20095 | 38 copy @std |
al@20095 | 39 rm -r $fs/usr/share |
al@21017 | 40 DEPENDS="gdk-pixbuf glib gtk3" |
al@20095 | 41 ;; |
al@20095 | 42 *-dev) |
al@20095 | 43 copy @dev 80indicator-debugging |
al@21017 | 44 DEPENDS="libindicator-gtk3 gtk3-dev" |
al@20095 | 45 ;; |
al@20095 | 46 esac |
al@20095 | 47 } |