diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:31:24 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:31:24 +0200 |
commit | 576c24c9bf0c8f48b34088aee528aa4e596ddad3 (patch) | |
tree | 41ad375dbd9d8857af67849d8fe0d405123bb116 /libraries/libnotify/libnotify.SlackBuild | |
parent | 3fd29eab23895f558d502beb75edb1135da47051 (diff) | |
download | slackbuilds-576c24c9bf0c8f48b34088aee528aa4e596ddad3.tar.gz |
libraries/libnotify: Updated for version 0.4.5
Diffstat (limited to 'libraries/libnotify/libnotify.SlackBuild')
-rw-r--r-- | libraries/libnotify/libnotify.SlackBuild | 31 |
1 files changed, 25 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} |