wok annotate libnotify/receipt @ rev 25285

updated rpcbind (1.2.5 -> 1.2.6)
author Hans-G?nter Theisgen
date Mon Jul 18 16:27:00 2022 +0100 (2022-07-18)
parents 668e3b18eda4
children 083af5061d39
rev   line source
erjo@1987 1 # SliTaz package receipt.
erjo@1987 2
erjo@1987 3 PACKAGE="libnotify"
devl547@17594 4 VERSION="0.7.6"
erjo@1987 5 CATEGORY="utilities"
erjo@1987 6 SHORT_DESC="Notification library"
erjo@1987 7 MAINTAINER="fabrice.thiroux@free.fr"
pascal@14714 8 LICENSE="LGPL2.1"
devl547@17594 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
erjo@1987 10 WEB_SITE="http://www.galago-project.org/"
devl547@17594 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16379 12 HOST_ARCH="i486 arm"
erjo@1987 13
pascal@14714 14 DEPENDS="dbus gtk+ dbus-glib xorg-libXdamage"
pankso@16379 15 BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
pankso@16379 16
pankso@16379 17 # Handle cross compilation
pankso@16379 18 case "$ARCH" in
pankso@16379 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl"
pankso@16379 20 esac
pascal@14714 21
pascal@24072 22 current_version()
pascal@24072 23 {
pascal@24072 24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 25 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 26 }
pascal@24072 27
erjo@1987 28 # Rules to configure and make the package.
erjo@1987 29 compile_rules()
erjo@1987 30 {
al@18948 31 patch -p1 -i $stuff/print-and-replace-id-v3.patch
al@18948 32
devl547@17594 33 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
devl547@17594 34 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
devl547@17594 35 -i configure
pankso@16379 36 ./configure \
pankso@16379 37 --disable-static \
pankso@16379 38 $CONFIGURE_ARGS &&
pankso@16379 39 make && make install
erjo@1987 40 }
erjo@1987 41
erjo@1987 42 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 43 genpkg_rules()
erjo@1987 44 {
al@18948 45 mkdir -p $fs/usr/lib
al@18948 46 cp -a $install/usr/bin $fs/usr
al@18948 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1987 48 }