wok-current view libnotify-gtk3/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | c6796c6304f6 |
children | 21a4d655af02 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnotify-gtk3"
4 VERSION="0.7.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Sends desktop notifications to a notification daemon (GTK+3)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 SOURCE="libnotify"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://web.archive.org/web/20160322142309/https://developer-next.gnome.org/libnotify/"
12 SERIES=$(echo $VERSION | cut -d. -f1,2)
13 WGET_URL="$GNOME_MIRROR/$SOURCE/$SERIES/$TARBALL"
14 TAGS="gtk3"
16 DEPENDS="gdk-pixbuf dbus"
17 BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \
18 dbus-dev"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-static \
31 --enable-introspection \
32 --disable-gtk-doc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$install install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }