wok-next view libnotify/receipt @ rev 19727

Up cryptopp (5.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 25 12:31:03 2017 +0200 (2017-05-25)
parents 668e3b18eda4
children e70c0b9c5adf
line source
1 # SliTaz package receipt.
3 PACKAGE="libnotify"
4 VERSION="0.7.6"
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 DEPENDS="gdk-pixbuf glib libffi libgio libpng pcre zlib"
16 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk+-dev gobject-introspection-dev \
17 gtk-doc xmlto"
18 BUILD_DEPENDS_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 arm*) BUILD_DEPENDS="$BUILD_DEPENDS_arm"
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series
30 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
31 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
32 -i configure
34 ./configure \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_files notify-send *.so*
44 }