wok-next view libnotify/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 014a4f35b014
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnotify"
4 VERSION="0.7.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Notification library"
7 MAINTAINER="fabrice.thiroux@free.fr"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/libnotify/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk2-dev gobject-introspection-dev \
15 gtk-doc xmlto"
16 SPLIT="libnotify-dev"
18 compile_rules() {
19 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
20 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
21 -i configure
23 ./configure $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libnotify)
32 copy @std
33 DEPENDS="gdk-pixbuf glib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libnotify gdk-pixbuf-dev glib-dev"
38 ;;
39 esac
40 }