summaryrefslogtreecommitdiffstats
path: root/libraries/gf2x/gf2x.SlackBuild
diff options
context:
space:
mode:
author Duncan Roe <duncan_roe@optusnet.com.au>2022-02-04 14:00:15 +1100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 12:44:04 +0700
commitafc1440e90ff8def0490c2c45d060bfbf075294b (patch)
treea176e3d8637f9da490aa1684432cbfd78c9711cf /libraries/gf2x/gf2x.SlackBuild
parent86d975649d91ad81045522f4ee7348aaa9f07e9b (diff)
downloadslackbuilds-afc1440e90ff8def0490c2c45d060bfbf075294b.tar.gz
slackbuilds-afc1440e90ff8def0490c2c45d060bfbf075294b.tar.xz
libraries/gf2x: Updated for new project home
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gf2x/gf2x.SlackBuild')
-rw-r--r--libraries/gf2x/gf2x.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/gf2x/gf2x.SlackBuild b/libraries/gf2x/gf2x.SlackBuild
index cf6a46132d..313f7569bc 100644
--- a/libraries/gf2x/gf2x.SlackBuild
+++ b/libraries/gf2x/gf2x.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gf2x
VERSION=${VERSION:-1.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+mv $PRGNAM-$PRGNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,6 +82,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS -msse2" \
+autoreconf -fi
+rm -Rf autom4te.cache
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \