summaryrefslogtreecommitdiff
path: root/development/xmlstarlet/xmlstarlet.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2011-05-31 19:41:36 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:31:20 -0400
commita51115aaf3f3cdf1bdfd9ef2695f7a43a8154e48 (patch)
tree368f729adbf924093655137a7ac65a8d4704f5d9 /development/xmlstarlet/xmlstarlet.SlackBuild
parent6e6a1c18a46386e33982b969e45880edb6a96698 (diff)
downloadslackbuilds-a51115aaf3f3cdf1bdfd9ef2695f7a43a8154e48.tar.gz
development/xmlstarlet: Updated for version 1.1.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/xmlstarlet/xmlstarlet.SlackBuild')
-rw-r--r--development/xmlstarlet/xmlstarlet.SlackBuild35
1 files changed, 24 insertions, 11 deletions
diff --git a/development/xmlstarlet/xmlstarlet.SlackBuild b/development/xmlstarlet/xmlstarlet.SlackBuild
index 80e0975994..817801f70d 100644
--- a/development/xmlstarlet/xmlstarlet.SlackBuild
+++ b/development/xmlstarlet/xmlstarlet.SlackBuild
@@ -2,19 +2,35 @@
# Slackware build script for xmlstarlet
-# Written by Vincent Batts, vbatts@gmail.com
+# Copyright 2009-2011 Vincent Batts, vbatts@hashbangbash.com, http://hashbangbash.com/
+# 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=xmlstarlet
-VERSION=1.0.1
+VERSION=1.1.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,23 +69,20 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fixup build on x86_64
-if [ "$ARCH" = "x86_64" ]; then
- patch -p1 < $CWD/xmlstarlet-1.0.1-fixup_x86_64.diff
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --with-libxml-prefix=/usr \
+ --with-libxml-libs-prefix=/usr/lib${LIBDIRSUFFIX} \
+ --with-libxslt-prefix=/usr \
+ --with-libxslt-libs-prefix=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-sed -i 's/pthread/pthread -lgcrypt/' src/Makefile
-
make
make install DESTDIR=$PKG