wok rev 5228

Add xfce4-notification
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Apr 07 22:32:08 2010 +0200 (2010-04-07)
parents 0a141e63543b
children a437d5ce2052
files xfce4-notification/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-notification/receipt	Wed Apr 07 22:32:08 2010 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfce4-notification"
     1.7 +VERSION="0.3.7"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Notification daemon fro Xfce"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libxfce4util libxfcegui4 dbus-glib libsexy"
    1.12 +BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev dbus-dev libsexy-dev dbus-glib-dev startup-notification-dev 
    1.13 + util-linux-ng-uuid-dev"
    1.14 +SOURCE="notification-daemon-xfce"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 +WEB_SITE="http://goodies.xfce.org/projects/applications/notification-daemon-xfce"
    1.17 +WGET_URL="http://goodies.xfce.org/releases/notification-daemon-xfce/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure --prefix=/usr \
    1.24 +		--disable-close-button \
    1.25 +		--libexecdir=/usr/lib/$PACKAGE \
    1.26 +		$CONFIGURE_ARGS \
    1.27 +		&&	make && make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share
    1.34 +	
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.38 +	cp -a $_pkg/usr/share/dbus* $fs/usr/share
    1.39 +
    1.40 +	# Clean & strip
    1.41 +	find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
    1.42 +	find $fs/usr/lib -name "*.so" -exec strip -s {} 2> /dev/null \;
    1.43 +}
    1.44 +