wok view libnotify/receipt @ rev 23324

updated perl-extutils-depends (0.405 -> 0.8000)
author Hans-G?nter Theisgen
date Mon Mar 30 17:02:48 2020 +0100 (2020-03-30)
parents da71f20282cc
children 5d79829fa876
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.galago-project.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="dbus gtk+ dbus-glib xorg-libXdamage"
15 BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl"
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 patch -p1 -i $stuff/print-and-replace-id-v3.patch
27 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
28 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
29 -i configure
30 ./configure \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }