diff options
author | Eugene M <damagedone@gmx.com> | 2017-11-11 16:25:25 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:16 +0700 |
commit | da7f807ed43e5721c1322ddef29efe4ebee3601f (patch) | |
tree | 20b6066f31eec3492effad49149616d89445aac5 | |
parent | 0033545eb13b6c63bb3e6bfc60d6faf1e4731568 (diff) |
development/check: Updated for version 0.12.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | development/check/README | 8 | ||||
-rw-r--r-- | development/check/check.SlackBuild | 21 | ||||
-rw-r--r-- | development/check/check.info | 10 |
3 files changed, 20 insertions, 19 deletions
diff --git a/development/check/README b/development/check/README index ddac2aa29a2f..62590662e5cf 100644 --- a/development/check/README +++ b/development/check/README @@ -1,7 +1,7 @@ -Check is a unit test framework for C. It features a simple interface for -defining unit tests, putting little in the way of the developer. Tests are -run in a separate address space, so Check can catch both assertion failures -and code errors that cause segmentation faults or other signals. The output +Check is a unit test framework for C. It features a simple interface for +defining unit tests, putting little in the way of the developer. Tests are +run in a separate address space, so Check can catch both assertion failures +and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs. See the project's home page for more information, including a tutorial. diff --git a/development/check/check.SlackBuild b/development/check/check.SlackBuild index 20685790570e..20641ec9d685 100644 --- a/development/check/check.SlackBuild +++ b/development/check/check.SlackBuild @@ -22,14 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by Eugene M., <damagedone at gmx dot com> + PRGNAM=check -VERSION=${VERSION:-0.10.0} +VERSION=${VERSION:-0.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-check OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -77,8 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --infodir=/usr/info \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make @@ -90,14 +92,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -mv $PKG/usr/share/info $PKG/usr/ rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/*.info* +rm -rf $PKG/usr/share/doc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc -cp -a AUTHORS THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a INSTALL NEWS README THANKS TODO \ +$PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/check/check.info b/development/check/check.info index b3a594fa0421..50b1aab78ba4 100644 --- a/development/check/check.info +++ b/development/check/check.info @@ -1,10 +1,10 @@ PRGNAM="check" -VERSION="0.10.0" +VERSION="0.12.0" HOMEPAGE="https://libcheck.github.io/check/" -DOWNLOAD="https://github.com/libcheck/check/archive/0.10.0.tar.gz" -MD5SUM="b2737c6725a22510780a5af79080a896" +DOWNLOAD="https://github.com/libcheck/check/archive/0.12.0/check-0.12.0.tar.gz" +MD5SUM="4399978b4248761bf55797a5ffa795ec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Duane Penzien" -EMAIL="linuxdad007@yahoo.com" +MAINTAINER="Eugene M" +EMAIL="damagedone@gmx.com" |