wok-6.x view libnotify/receipt @ rev 25356
updated tig (2.5.1 -> 2.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 06:32:16 2022 +0100 (2022-07-27) |
parents | 5d79829fa876 |
children |
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="https://gitlab.gnome.org/GNOME/libnotify"
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 }