wok-current view notification-daemon/receipt @ rev 19774
some *-dev depend on pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 15:50:51 2017 +0100 (2017-02-21) |
parents | 380ffe05937a |
children | 6831608a1b2a |
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="http://www.galago-project.org/"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i '/"gnome-util"/{s/,$/);/;nd}' src/capplet/notification-properties.c
21 ./configure \
22 --sysconfdir=/etc \
23 --libexecdir=/usr/bin \
24 $CONFIGURE_ARGS &&
25 make && make install &&
26 rm -rf $install/usr/share/applications
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/share
33 #$fs/usr/share/pixmaps $fs/usr/share/applications
34 #cp -a $install/etc $fs
35 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
36 cp -a $install/usr/lib $fs/usr
37 rm $fs/usr/lib/*/*/*.*a
38 cp -a $install/usr/share/dbus-1 $fs/usr/share
39 #cp -a $install/usr/share/$PACKAGE $fs/usr/share
40 #cp $install/usr/share/icons/hicolor/32x32/apps/* \
41 # $fs/usr/share/pixmaps
42 }