From 8a3b12874225f2079c626ad227ded6bfe4e5081b Mon Sep 17 00:00:00 2001 From: Marek Wodzinski Date: Thu, 23 Jan 2020 19:51:02 +0100 Subject: development/avra: Updated for version 1.4.1. Signed-off-by: Willy Sudiarto Raharjo --- development/avra/avra.SlackBuild | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'development/avra/avra.SlackBuild') diff --git a/development/avra/avra.SlackBuild b/development/avra/avra.SlackBuild index 1cb7b839d0..d27a24622e 100644 --- a/development/avra/avra.SlackBuild +++ b/development/avra/avra.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for avra # Copyright 2013 flanker +# Copyright 2020 Marek Wodzinski # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=avra -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,38 +70,22 @@ 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 {} \; -touch NEWS ChangeLog -cd src -./bootstrap - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux +sed -i 's|^PREFIX = /usr/local|PREFIX = /usr|' Makefile make make install DESTDIR=$PKG -cd .. - 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING TODO \ + AUTHORS CHANGELOG.md COPYING README.md TODO USAGE.md\ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/usr/include/avra mv examples $PKG/usr/doc/$PRGNAM-$VERSION -mv includes/* $PKG/usr/include/avra mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3