diff options
author | Zhu Qun-Ying <zhu.qunying at gmail dot com> | 2018-08-08 21:09:45 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-11 07:23:07 +0700 |
commit | c3c5a82a2c8095f5ca3e492844a15772a07c51b8 (patch) | |
tree | 98332d4148e8c3560fec29b905bce49b5b1caab5 /development/ahven | |
parent | 50af2f837fec6a6dd0600ed4dd77e0435e5c1160 (diff) |
development/ahven: Updated for version 2.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/ahven')
-rw-r--r-- | development/ahven/ahven.SlackBuild | 16 | ||||
-rw-r--r-- | development/ahven/ahven.info | 8 | ||||
-rw-r--r-- | development/ahven/slack-desc | 2 |
3 files changed, 15 insertions, 11 deletions
diff --git a/development/ahven/ahven.SlackBuild b/development/ahven/ahven.SlackBuild index bb4d06feb090..14145bd903fd 100644 --- a/development/ahven/ahven.SlackBuild +++ b/development/ahven/ahven.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# ahven package build script (written by zhu.qunying@gmail.com) -# Copyright 2012-2017 Zhu Qun-Ying +# ahven package build script +# Copyright 2012-2018 Zhu Qun-Ying # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ahven -VERSION=${VERSION:-2.6} +VERSION=${VERSION:-2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +42,7 @@ if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -71,12 +71,16 @@ make DESTDIR=$PKG prefix=/usr libdir=/usr/lib$LIBDIRSUFFIX make DESTDIR=$PKG prefix=/usr libdir=/usr/lib$LIBDIRSUFFIX install +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/lib$LIBDIRSUFFIX/gnat sed -e "s/@prefix@/\/usr/" -e "s/@libdir@/\/usr\/lib$LIBDIRSUFFIX/g" \ - $CWD/ahven.gpr > $PKG/usr/lib$LIBDIRSUFFIX/gnat/ahven.gpr + $CWD/ahven.gpr > $PKG/usr/lib$LIBDIRSUFFIX/gnat/ahven.gpr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst ROADMAP NEWS LICENSE doc/tutorial examples $PKG/usr/doc/$PRGNAM-$VERSION +cp README.rst ROADMAP NEWS.txt LICENSE.txt $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION +cp -a doc/tutorial examples $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/ahven/ahven.info b/development/ahven/ahven.info index 2748a078a785..a3c2ef6b1f07 100644 --- a/development/ahven/ahven.info +++ b/development/ahven/ahven.info @@ -1,10 +1,10 @@ PRGNAM="ahven" -VERSION="2.6" +VERSION="2.7" HOMEPAGE="http://ahven.stronglytyped.org/" -DOWNLOAD="http://www.ahven-framework.com/releases/ahven-2.6.tar.gz" -MD5SUM="776d3da3cd30a9c8d7db1f84f55c8381" +DOWNLOAD="http://www.ahven-framework.com/releases/ahven-2.7.tar.gz" +MD5SUM="71be8fda91900de53c519c2eecfd50b8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Zhu Qun-Ying" -EMAIL="zhu.qunying@gmail.com" +EMAIL="zhu.qunying at gmail dot com" diff --git a/development/ahven/slack-desc b/development/ahven/slack-desc index 323f2465c744..855c7f295737 100644 --- a/development/ahven/slack-desc +++ b/development/ahven/slack-desc @@ -9,7 +9,7 @@ ahven: ahven (simple unit test library) ahven: ahven: Ahven is a simple unit test library (or a framework) for Ada -ahven: programming language. It is loosely modelled after JUnit and some +ahven: programming language. It is loosely modelled after JUnit and some ahven: ideas are taken from AUnit. ahven: ahven: Ahven is free software distributed under permissive ISC license and |