summaryrefslogtreecommitdiff
path: root/libraries/liblrdf/liblrdf.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-01-24 16:40:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:43 +0700
commitcc92603b4aaee6db93be8cb5a440a83acf3feed1 (patch)
tree7d3eb695dd2e17871e6dfc6549e078e7ce50330c /libraries/liblrdf/liblrdf.SlackBuild
parent5cfbadddd54d7d894b668e88ed56a9f300379ee8 (diff)
downloadslackbuilds-cc92603b4aaee6db93be8cb5a440a83acf3feed1.tar.gz
libraries/liblrdf: Updated for version 0.6.1, changed maintainer.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/liblrdf/liblrdf.SlackBuild')
-rw-r--r--libraries/liblrdf/liblrdf.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/liblrdf/liblrdf.SlackBuild b/libraries/liblrdf/liblrdf.SlackBuild
index 4e205492d7..78e30c1b5a 100644
--- a/libraries/liblrdf/liblrdf.SlackBuild
+++ b/libraries/liblrdf/liblrdf.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for liblrdf
# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2018 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=liblrdf
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,15 +60,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf swh-LRDF-7ebc032
-tar xvf $CWD/swh-LRDF-$VERSION-0-g7ebc032.tar.gz
-cd swh-LRDF-7ebc032
+rm -rf LRDF-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd LRDF-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./autogen.sh