wok-current annotate notification-daemon/receipt @ rev 24357

updated bacon (3.9.3 -> 4.4)
author Hans-G?nter Theisgen
date Thu Feb 03 16:37:54 2022 +0100 (2022-02-03)
parents 8db481e72104
children 5c0ba7968d4c
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"
pankso@12079 10 WEB_SITE="http://www.galago-project.org/"
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 }