wok view notification-daemon/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 6831608a1b2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="notification-daemon"
4 VERSION="0.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Notification daemon for libnotify/notify-send"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://gitlab.gnome.org/Archive/notification-daemon"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="dbus libnotify libcanberra libwnck GConf libogg libvorbis libltdl"
14 BUILD_DEPENDS="dbus-dev libnotify-dev libcanberra-dev GConf-dev \
15 libwnck-dev libogg-dev libvorbis-dev intltool libtool"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i '/"gnome-util"/{s/,$/);/;nd}' src/capplet/notification-properties.c
27 ./configure \
28 --sysconfdir=/etc \
29 --libexecdir=/usr/bin \
30 $CONFIGURE_ARGS &&
31 make && make install &&
32 rm -rf $install/usr/share/applications
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin $fs/usr/share
39 #$fs/usr/share/pixmaps $fs/usr/share/applications
40 #cp -a $install/etc $fs
41 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
42 cp -a $install/usr/lib $fs/usr
43 rm $fs/usr/lib/*/*/*.*a
44 cp -a $install/usr/share/dbus-1 $fs/usr/share
45 #cp -a $install/usr/share/$PACKAGE $fs/usr/share
46 #cp $install/usr/share/icons/hicolor/32x32/apps/* \
47 # $fs/usr/share/pixmaps
48 }