wok view mate-notification-daemon/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents b2a5c2421b7c
children ee53899c6189
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 rm -rf $fs/usr/share/man
43 }