wok-current view libnotify/receipt @ rev 24703

updated ladspa and ladspa-dev (1.15 -> 1.17)
author Hans-G?nter Theisgen
date Mon Mar 14 11:12:41 2022 +0100 (2022-03-14)
parents 668e3b18eda4
children 083af5061d39
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 current_version()
23 {
24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
25 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 patch -p1 -i $stuff/print-and-replace-id-v3.patch
33 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
34 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
35 -i configure
36 ./configure \
37 --disable-static \
38 $CONFIGURE_ARGS &&
39 make && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }