diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2023-12-04 18:52:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-04 19:03:50 +0700 |
commit | e172065ea63656ad25acc8e65843315e95323a7c (patch) | |
tree | af178ce77d4653717d836d930e2cd503b8890469 /libraries | |
parent | 3b141af56b1293788e41b65f53002208a07b6124 (diff) |
libraries/rtrlib: Updated for version 0.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/rtrlib/rtrlib.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/rtrlib/rtrlib.info | 6 |
2 files changed, 11 insertions, 10 deletions
diff --git a/libraries/rtrlib/rtrlib.SlackBuild b/libraries/rtrlib/rtrlib.SlackBuild index 9daaa1ac726c8..185eea09dae70 100644 --- a/libraries/rtrlib/rtrlib.SlackBuild +++ b/libraries/rtrlib/rtrlib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for rtrlib -# Copyright 2018 Thibaut Notteboom, Paris, FRANCE +# Copyright 2018-2023 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rtrlib -VERSION=${VERSION:-0.6.1} +VERSION=${VERSION:-0.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -59,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -92,6 +92,8 @@ cd build make install DESTDIR=$PKG cd .. +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -100,8 +102,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mv $PKG/usr/share/doc $PKG/usr/doc mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -rmdir $PKG/usr/share -cp -a CHANGELOG CONTRIBUTING LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG CONTRIBUTING LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/rtrlib/rtrlib.info b/libraries/rtrlib/rtrlib.info index d208a1e23f3f4..4521a6c82fbb2 100644 --- a/libraries/rtrlib/rtrlib.info +++ b/libraries/rtrlib/rtrlib.info @@ -1,8 +1,8 @@ PRGNAM="rtrlib" -VERSION="0.6.1" +VERSION="0.8.0" HOMEPAGE="http://rtrlib.realmv6.org/" -DOWNLOAD="https://github.com/rtrlib/rtrlib/archive/v0.6.1/rtrlib-0.6.1.tar.gz" -MD5SUM="a67a9796f5f122c12ef7af91a65462f0" +DOWNLOAD="https://github.com/rtrlib/rtrlib/archive/v0.8.0/rtrlib-0.8.0.tar.gz" +MD5SUM="e6237318b51ea1162d9ae7b296f966c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |