aboutsummaryrefslogtreecommitdiff
path: root/libraries/librep/librep.SlackBuild
diff options
context:
space:
mode:
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 2f6eb5700a376..593a7dd5de706 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} \