aboutsummaryrefslogtreecommitdiff
path: root/development/ahven
diff options
context:
space:
mode:
Diffstat (limited to 'development/ahven')
-rw-r--r--development/ahven/ahven.SlackBuild16
-rw-r--r--development/ahven/ahven.info8
-rw-r--r--development/ahven/slack-desc2
3 files changed, 15 insertions, 11 deletions
diff --git a/development/ahven/ahven.SlackBuild b/development/ahven/ahven.SlackBuild
index bb4d06feb090a..14145bd903fd5 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 2748a078a7852..a3c2ef6b1f076 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 323f2465c7445..855c7f295737f 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