summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/notification-daemon-xfce/README3
-rw-r--r--desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild24
-rw-r--r--desktop/notification-daemon-xfce/notification-daemon-xfce.info2
-rw-r--r--desktop/notification-daemon-xfce/slack-desc6
4 files changed, 23 insertions, 12 deletions
diff --git a/desktop/notification-daemon-xfce/README b/desktop/notification-daemon-xfce/README
index 86c5f29922..3dfe285ccd 100644
--- a/desktop/notification-daemon-xfce/README
+++ b/desktop/notification-daemon-xfce/README
@@ -1,4 +1,3 @@
This is a port of Gnome's notification daemon for the Xfce desktop environment.
-This requires libnotify, libsexy, and exo-notify, all of which are also
-available at SlackBuilds.org.
+This requires libnotify, libsexy, and exo-notify.
diff --git a/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild b/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild
index 1c4ba87f5c..975dcb71cb 100644
--- a/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild
+++ b/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for notification-daemon-xfce
-# Copyright 2008 Robby Workman - http://rlworkman.net
+# Copyright 2008-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -59,23 +64,28 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/notification-daemon-xfce/notification-daemon-xfce.info b/desktop/notification-daemon-xfce/notification-daemon-xfce.info
index de4505c3b1..d7affa3715 100644
--- a/desktop/notification-daemon-xfce/notification-daemon-xfce.info
+++ b/desktop/notification-daemon-xfce/notification-daemon-xfce.info
@@ -2,7 +2,9 @@ PRGNAM="notification-daemon-xfce"
VERSION="0.3.7"
HOMEPAGE="http://goodies.xfce.org/projects/applications/notification-daemon-xfce"
DOWNLOAD="http://goodies.xfce.org/releases/notification-daemon-xfce/notification-daemon-xfce-0.3.7.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="ef4a4977875d97a5237b316d5d592176"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="BP{k}"
diff --git a/desktop/notification-daemon-xfce/slack-desc b/desktop/notification-daemon-xfce/slack-desc
index be33e243cf..835c45dcba 100644
--- a/desktop/notification-daemon-xfce/slack-desc
+++ b/desktop/notification-daemon-xfce/slack-desc
@@ -10,10 +10,10 @@ notification-daemon-xfce: notification-daemon-xfce (Notification Daemon for Xfce
notification-daemon-xfce:
notification-daemon-xfce: This is a port of Gnome's notification daemon
notification-daemon-xfce: for the Xfce desktop environment.
-notification-daemon-xfce:
-notification-daemon-xfce:
notification-daemon-xfce:
-notification-daemon-xfce:
+notification-daemon-xfce:
+notification-daemon-xfce:
+notification-daemon-xfce:
notification-daemon-xfce:
notification-daemon-xfce:
notification-daemon-xfce: