wok-next annotate notification-daemon/receipt @ rev 12079

Add notification-daemon so notify-send from libnotify works if daemon is started with X session
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 09 13:48:49 2012 +0100 (2012-03-09)
parents
children 2fd4b9cccb54
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"
pankso@12079 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12079 9 WEB_SITE="http://www.galago-project.org/"
pankso@12079 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@12079 11
pankso@12079 12 DEPENDS="dbus libnotify libcanberra libwnck GConf libogg libvorbis libltdl"
pankso@12079 13 BUILD_DEPENDS="dbus-dev libnotify-dev libcanberra-dev GConf-dev \
pankso@12079 14 libwnck-dev libogg-dev libvorbis-dev"
pankso@12079 15
pankso@12079 16 # Rules to configure and make the package.
pankso@12079 17 compile_rules()
pankso@12079 18 {
pankso@12079 19 ./configure \
pankso@12079 20 --sysconfdir=/etc \
pankso@12079 21 --libexecdir=/usr/bin \
pankso@12079 22 $CONFIGURE_ARGS &&
pankso@12079 23 make && make install &&
pankso@12079 24 rm -rf $install/usr/share/applications
pankso@12079 25 }
pankso@12079 26
pankso@12079 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12079 28 genpkg_rules()
pankso@12079 29 {
pankso@12079 30 mkdir -p $fs/usr/bin $fs/usr/share
pankso@12079 31 #$fs/usr/share/pixmaps $fs/usr/share/applications
pankso@12079 32 #cp -a $install/etc $fs
pankso@12079 33 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
pankso@12079 34 cp -a $install/usr/lib $fs/usr
pankso@12079 35 rm $fs/usr/lib/*/*/*.*a
pankso@12079 36 cp -a $install/usr/share/dbus-1 $fs/usr/share
pankso@12079 37 #cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@12079 38 #cp $install/usr/share/icons/hicolor/32x32/apps/* \
pankso@12079 39 # $fs/usr/share/pixmaps
pankso@12079 40 }