From da0c8afc036f814dec1ff1e92ec2a1033a11ad2e Mon Sep 17 00:00:00 2001 From: "Juan M. Lasca" Date: Mon, 8 Jan 2024 08:21:33 +0700 Subject: academic/gerbv: Updated for version 2.10.0. Signed-off-by: Willy Sudiarto Raharjo --- academic/gerbv/gerbv.SlackBuild | 11 ++++++++--- academic/gerbv/gerbv.info | 8 ++++---- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'academic') 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="" -- cgit v1.2.3