summaryrefslogtreecommitdiff
path: root/libraries/libnotify
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:41:36 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:36 +0200
commit589f0589b83c104e3fe3a86f1191a8ce23575463 (patch)
treeede063322654d0c1f178ab4b6e6c974fc70e00a2 /libraries/libnotify
parentc7b5f27c3a9cb946ef1a6741561bff2eb7260d42 (diff)
downloadslackbuilds-589f0589b83c104e3fe3a86f1191a8ce23575463.tar.gz
libraries/libnotify: Updated for version 0.4.5
Diffstat (limited to 'libraries/libnotify')
-rw-r--r--libraries/libnotify/libnotify.SlackBuild24
-rw-r--r--libraries/libnotify/libnotify.info8
2 files changed, 20 insertions, 12 deletions
diff --git a/libraries/libnotify/libnotify.SlackBuild b/libraries/libnotify/libnotify.SlackBuild
index 73510b5aee..67a699f53f 100644
--- a/libraries/libnotify/libnotify.SlackBuild
+++ b/libraries/libnotify/libnotify.SlackBuild
@@ -2,30 +2,37 @@
# Slackware build script for libnotify
# Written by Erik Hanson erik@slackbuilds.org
-# Updated for 0.4.4 by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=libnotify
-VERSION=0.4.4
+VERSION=0.4.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -eu
+
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
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -34,12 +41,13 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--enable-shared=yes \
- || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/libnotify/libnotify.info b/libraries/libnotify/libnotify.info
index 359617fa8c..0d53a4ab0f 100644
--- a/libraries/libnotify/libnotify.info
+++ b/libraries/libnotify/libnotify.info
@@ -1,8 +1,8 @@
PRGNAM="libnotify"
-VERSION="0.4.4"
+VERSION="0.4.5"
HOMEPAGE="http://www.galago-project.org/news/index.php"
-DOWNLOAD="http://www.galago-project.org/files/releases/source/libnotify/libnotify-0.4.4.tar.bz2"
-MD5SUM="0a739819b907fd8ec79a9bc9dbcb42c1"
+DOWNLOAD="http://www.galago-project.org/files/releases/source/libnotify/libnotify-0.4.5.tar.bz2"
+MD5SUM="6a8388f93309dbe336bbe5fc0677de6b"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="BP{k}"
+APPROVED="rworkman"