mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
development/ahven: Updated for version 2.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
50af2f837f
commit
c3c5a82a2c
3 changed files with 15 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue