wok annotate libnotify-gtk3/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents c6796c6304f6
children 21a4d655af02
rev   line source
al@14237 1 # SliTaz package receipt.
al@14237 2
al@14237 3 PACKAGE="libnotify-gtk3"
devl547@17638 4 VERSION="0.7.6"
al@14237 5 CATEGORY="utilities"
al@14237 6 SHORT_DESC="Sends desktop notifications to a notification daemon (GTK+3)"
al@14237 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14714 8 LICENSE="LGPL2.1"
al@14237 9 SOURCE="libnotify"
al@14237 10 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@23765 11 WEB_SITE="https://web.archive.org/web/20160322142309/https://developer-next.gnome.org/libnotify/"
al@14269 12 SERIES=$(echo $VERSION | cut -d. -f1,2)
al@14269 13 WGET_URL="$GNOME_MIRROR/$SOURCE/$SERIES/$TARBALL"
al@14237 14 TAGS="gtk3"
al@14237 15
devl547@17638 16 DEPENDS="gdk-pixbuf dbus"
devl547@17638 17 BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \
devl547@17638 18 dbus-dev"
al@14237 19
pascal@24111 20 current_version()
pascal@24111 21 {
pascal@24111 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 24 }
pascal@24111 25
al@14237 26 # Rules to configure and make the package.
al@14237 27 compile_rules()
al@14237 28 {
al@14237 29 ./configure \
al@14237 30 --disable-static \
al@14237 31 --enable-introspection \
al@14237 32 --disable-gtk-doc \
al@14237 33 $CONFIGURE_ARGS &&
al@14237 34 make &&
al@14237 35 make DESTDIR=$install install
al@14237 36 }
al@14237 37
al@14237 38 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14237 39 genpkg_rules()
al@14237 40 {
al@14237 41 mkdir -p $fs/usr/lib
al@14237 42 cp -a $install/usr/bin $fs/usr
al@14237 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14237 44 }