diff options
Diffstat (limited to 'development/avra')
-rw-r--r-- | development/avra/avra.SlackBuild | 25 | ||||
-rw-r--r-- | development/avra/avra.info | 8 |
2 files changed, 9 insertions, 24 deletions
diff --git a/development/avra/avra.SlackBuild b/development/avra/avra.SlackBuild index 1cb7b839d06c..d27a24622ec4 100644 --- a/development/avra/avra.SlackBuild +++ b/development/avra/avra.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for avra # Copyright 2013 flanker <flank7er@gmail.com> +# Copyright 2020 Marek Wodzinski <majek@w7i.pl> # 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 diff --git a/development/avra/avra.info b/development/avra/avra.info index 94447e8f96d7..2fffe47e1994 100644 --- a/development/avra/avra.info +++ b/development/avra/avra.info @@ -1,8 +1,8 @@ PRGNAM="avra" -VERSION="1.3.0" -HOMEPAGE="http://avra.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/avra/avra-1.3.0.tar.bz2" -MD5SUM="d5d48369ceaa004c4ca09f61f69b2c84" +VERSION="1.4.1" +HOMEPAGE="https://github.com/hsoft/avra" +DOWNLOAD="https://github.com/hsoft/avra/archive/1.4.1/avra-1.4.1.tar.gz" +MD5SUM="bef646ae1caa123a57655fa62440ee94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |