wok-next view libnotify/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | 0e7893ac206d |
children | 5841522533ec |
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 gtk+-dev gobject-introspection-dev \
15 gtk-doc xmlto"
16 BUILD_DEPENDS_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
17 SPLIT="libnotify-dev"
19 compile_rules() {
20 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
21 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
22 -i configure
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libnotify)
30 copy @std #notify-send *.so*
31 DEPENDS="gdk-pixbuf glib libffi libpng16 pcre zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libnotify gdk-pixbuf-dev glib-dev glibc-dev libffi-dev \
36 libgio-dev libpng16-dev pcre-dev zlib-dev"
37 ;;
38 esac
39 }