summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-13 00:31:24 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:31:24 +0200
commit576c24c9bf0c8f48b34088aee528aa4e596ddad3 (patch)
tree41ad375dbd9d8857af67849d8fe0d405123bb116
parent3fd29eab23895f558d502beb75edb1135da47051 (diff)
downloadslackbuilds-576c24c9bf0c8f48b34088aee528aa4e596ddad3.tar.gz
libraries/libnotify: Updated for version 0.4.5
-rw-r--r--libraries/libnotify/libnotify.SlackBuild31
-rw-r--r--libraries/libnotify/libnotify.info2
2 files changed, 27 insertions, 6 deletions
diff --git a/libraries/libnotify/libnotify.SlackBuild b/libraries/libnotify/libnotify.SlackBuild
index 67a699f53f..3c4cc8f11b 100644
--- a/libraries/libnotify/libnotify.SlackBuild
+++ b/libraries/libnotify/libnotify.SlackBuild
@@ -1,7 +1,26 @@
#!/bin/sh
-
+#
# Slackware build script for libnotify
-# Written by Erik Hanson erik@slackbuilds.org
+#
+# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libnotify
VERSION=0.4.5
@@ -14,8 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -eu
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -27,6 +44,8 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -39,9 +58,9 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--enable-shared=yes \
--build=$ARCH-slackware-linux
@@ -58,4 +77,4 @@ 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/libraries/libnotify/libnotify.info b/libraries/libnotify/libnotify.info
index 0d53a4ab0f..f81e5752ba 100644
--- a/libraries/libnotify/libnotify.info
+++ b/libraries/libnotify/libnotify.info
@@ -3,6 +3,8 @@ 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.5.tar.bz2"
MD5SUM="6a8388f93309dbe336bbe5fc0677de6b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"