wok-6.x diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mate-notification-daemon/receipt	Fri Mar 11 15:56:52 2016 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mate-notification-daemon"
     1.7 +VERSION="1.13.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Fork of gnome-notification-daemon"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.15 +PROVIDE="notification-daemon"
    1.16 +TAGS="MATE"
    1.17 +
    1.18 +DEPENDS="gtk+ libcanberra libltdl libnotify libwnck"
    1.19 +BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \
    1.20 +libcanberra-dev libwnck-dev libnotify-dev intltool"
    1.21 +GENERIC_MENUS="no"
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	sed -i '/^MATE_/d' configure.ac	# build standalone without MATE
    1.27 +
    1.28 +	mkdir macros; autoreconf --install --force
    1.29 +	intltoolize;  autoreconf
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		--sysconfdir=/etc \
    1.33 +	$CONFIGURE_ARGS &&
    1.34 +	make && make install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	cp -a $install/* $fs
    1.41 +	find $fs/usr/lib -name '*.*a' -delete
    1.42 +	rm -r $fs/usr/share/locale
    1.43 +	sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop
    1.44 +	find $fs/usr/share/man -type f -exec gzip \{\} \;
    1.45 +}