wok-next view libnotify/receipt @ rev 20595

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 16 11:36:31 2018 +0300 (2018-04-16)
parents dd145c435e4b
children 014a4f35b014
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_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
15 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk+-dev gobject-introspection-dev \
16 gtk-doc xmlto"
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 &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libnotify)
33 copy @std #notify-send *.so*
34 DEPENDS="gdk-pixbuf glib libffi libpng16 pcre zlib"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libnotify gdk-pixbuf-dev glib-dev glibc-dev libffi-dev \
39 libgio-dev libpng16-dev pcre-dev zlib-dev"
40 ;;
41 esac
42 }