aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorJuan M. Lasca <juanmlasca@gmail.com>2024-01-08 08:21:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-08 10:06:20 +0700
commitda0c8afc036f814dec1ff1e92ec2a1033a11ad2e (patch)
tree08fb517d5dbb67494ebbd605b7a9bc3beb22b917 /academic
parent29157270cabbc83fad3b0edfeaef070cb4a80a67 (diff)
academic/gerbv: Updated for version 2.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/gerbv/gerbv.SlackBuild11
-rw-r--r--academic/gerbv/gerbv.info8
2 files changed, 12 insertions, 7 deletions
diff --git a/academic/gerbv/gerbv.SlackBuild b/academic/gerbv/gerbv.SlackBuild
index 3ab99cb77be6..0b4d1094a217 100644
--- a/academic/gerbv/gerbv.SlackBuild
+++ b/academic/gerbv/gerbv.SlackBuild
@@ -23,12 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Originally written by Felix Pfeifer (pfeifer.felix@googlemail.com)
+# Thanks to Andrzej Telszewski for his suggestions
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gerbv
-VERSION=${VERSION:-2.7.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.10.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -108,10 +111,12 @@ sed -i '/^Encoding/d; s/^Categories.*/Categories=Science;Electronics;/' \
gzip -9 ChangeLog COPYING
+rm -f */*.in */*.am
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS BUGS CONTRIBUTORS ChangeLog.gz COPYING.gz \
- HACKING NEWS README \
+ HACKING NEWS README doc/ example/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/academic/gerbv/gerbv.info b/academic/gerbv/gerbv.info
index 161dc9d490fd..2791874287cb 100644
--- a/academic/gerbv/gerbv.info
+++ b/academic/gerbv/gerbv.info
@@ -1,8 +1,8 @@
PRGNAM="gerbv"
-VERSION="2.7.0"
-HOMEPAGE="http://gerbv.gpleda.org/"
-DOWNLOAD="http://downloads.sourceforge.net/gerbv/gerbv-2.7.0.tar.gz"
-MD5SUM="2d09c69bc12ab76f29006daaadb78ad9"
+VERSION="2.10.0"
+HOMEPAGE="https://gerbv.github.io/"
+DOWNLOAD="https://github.com/gerbv/gerbv/archive/v2.10.0/gerbv-2.10.0.tar.gz"
+MD5SUM="69c122c7fcba29ed9abae733419a913c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""