aboutsummaryrefslogtreecommitdiff
path: root/libraries/librep/librep.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-07-24 21:29:16 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:43 +0700
commit1151ce1229e92aa0ab4795ba8ff3c3b8d346d411 (patch)
tree617ddf35d2458046a9adf033fc07d47a0b98079c /libraries/librep/librep.SlackBuild
parent57cfe5ec1a36b47930dc4e6af824e98aadb15795 (diff)
libraries/librep: Updated for version 0.92.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/librep/librep.SlackBuild')
-rw-r--r--libraries/librep/librep.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/libraries/librep/librep.SlackBuild b/libraries/librep/librep.SlackBuild
index 2f6eb5700a37..593a7dd5de70 100644
--- a/libraries/librep/librep.SlackBuild
+++ b/libraries/librep/librep.SlackBuild
@@ -1,4 +1,5 @@
#!/bin/sh
+
# Slackware build script for librep.
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
@@ -22,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=librep
-SRCNAM=librep
-VERSION=${VERSION:-0.92.5}
+VERSION=${VERSION:-0.92.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${SRCNAM}_${VERSION}.tar.xz
-mv ${SRCNAM}_${VERSION} $PRGNAM-$VERSION
+rm -rf $PRGNAM-$#VERSION
+tar xvf $CWD/${PRGNAM}_${VERSION}.tar.xz
+mv ${PRGNAM}_${VERSION} $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,8 +70,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS -std=gnu89" \
-CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./autogen.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \