wok-6.x view mate-notification-daemon/receipt @ rev 18970
Add mate-notification-daemon
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 11 15:56:52 2016 +0200 (2016-03-11) |
parents | |
children | 13806712bef0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-notification-daemon"
4 VERSION="1.13.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Fork of gnome-notification-daemon"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
12 PROVIDE="notification-daemon"
13 TAGS="MATE"
15 DEPENDS="gtk+ libcanberra libltdl libnotify libwnck"
16 BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \
17 libcanberra-dev libwnck-dev libnotify-dev intltool"
18 GENERIC_MENUS="no"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i '/^MATE_/d' configure.ac # build standalone without MATE
25 mkdir macros; autoreconf --install --force
26 intltoolize; autoreconf
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 find $fs/usr/lib -name '*.*a' -delete
39 rm -r $fs/usr/share/locale
40 sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop
41 find $fs/usr/share/man -type f -exec gzip \{\} \;
42 }