wok-next view libnotify/receipt @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | f48456621a9d |
children | 23982d05637c |
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="devel@slitaz.org"
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="$PACKAGE-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 }