wok-next view libnotify/receipt @ rev 19823

Forgot to remove *-dev parts.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 29 17:34:46 2017 +0300 (2017-07-29)
parents f463de72afe3
children 0e7893ac206d
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk+-dev gobject-introspection-dev \
16 gtk-doc xmlto"
17 BUILD_DEPENDS_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
18 SPLIT="libnotify-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
24 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
25 -i configure
27 ./configure $CONFIGURE_ARGS && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libnotify)
35 copy @std #notify-send *.so*
36 DEPENDS="gdk-pixbuf glib libffi libpng pcre zlib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libnotify gdk-pixbuf-dev glib-dev glibc-dev libffi-dev \
41 libgio-dev libpng-dev pcre-dev zlib-dev"
42 ;;
43 esac
44 }