wok-6.x annotate notification-daemon/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents 380ffe05937a
children 6831608a1b2a
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
pankso@12079 17 # Rules to configure and make the package.
pankso@12079 18 compile_rules()
pankso@12079 19 {
pascal@17600 20 sed -i '/"gnome-util"/{s/,$/);/;nd}' src/capplet/notification-properties.c
pankso@12079 21 ./configure \
pankso@12079 22 --sysconfdir=/etc \
pankso@12079 23 --libexecdir=/usr/bin \
pankso@12079 24 $CONFIGURE_ARGS &&
pankso@12079 25 make && make install &&
pankso@12079 26 rm -rf $install/usr/share/applications
pankso@12079 27 }
pankso@12079 28
pankso@12079 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12079 30 genpkg_rules()
pankso@12079 31 {
pankso@12079 32 mkdir -p $fs/usr/bin $fs/usr/share
pankso@12079 33 #$fs/usr/share/pixmaps $fs/usr/share/applications
pankso@12079 34 #cp -a $install/etc $fs
pankso@12079 35 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
pankso@12079 36 cp -a $install/usr/lib $fs/usr
pankso@12079 37 rm $fs/usr/lib/*/*/*.*a
pankso@12079 38 cp -a $install/usr/share/dbus-1 $fs/usr/share
pankso@12079 39 #cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@12079 40 #cp $install/usr/share/icons/hicolor/32x32/apps/* \
pankso@12079 41 # $fs/usr/share/pixmaps
pankso@12079 42 }