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