wok-stable view xfce4-notification/receipt @ 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
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-notification"
4 VERSION="0.3.7"
5 CATEGORY="x-window"
6 SHORT_DESC="Notification daemon fro Xfce"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 dbus-glib libsexy"
9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev dbus-dev libsexy-dev dbus-glib-dev startup-notification-dev
10 util-linux-ng-uuid-dev"
11 SOURCE="notification-daemon-xfce"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://goodies.xfce.org/projects/applications/notification-daemon-xfce"
14 WGET_URL="http://goodies.xfce.org/releases/notification-daemon-xfce/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --disable-close-button \
22 --libexecdir=/usr/lib/$PACKAGE \
23 $CONFIGURE_ARGS \
24 && make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/icons $fs/usr/share
35 cp -a $_pkg/usr/share/dbus* $fs/usr/share
37 # Clean & strip
38 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
39 find $fs/usr/lib -name "*.so" -exec strip -s {} 2> /dev/null \;
40 }