From af36272ff00f5c0851d1f9811bb164f4a5d44c45 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Wed, 22 Nov 2017 09:16:09 +0000 Subject: development/apitrace: Updated for version 2017.11.20_19c33cb. Signed-off-by: David Spencer --- development/apitrace/apitrace.SlackBuild | 24 ++++++++++++------------ development/apitrace/apitrace.info | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'development') diff --git a/development/apitrace/apitrace.SlackBuild b/development/apitrace/apitrace.SlackBuild index f9f52e386f..85e581110e 100644 --- a/development/apitrace/apitrace.SlackBuild +++ b/development/apitrace/apitrace.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for apitrace -# Copyright 2015 Hunter Sezen California, USA +# Copyright 2015-2017 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,15 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=apitrace -VERSION=${VERSION:-7.1} +VERSION=${VERSION:-2017.11.20_19c33cb} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +COMMIT=${COMMIT:-19c33cbcba64a8b28a1607d88fd1f15ba2ac3471} + 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-$PRGNAM 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" @@ -54,14 +56,14 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu 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 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz +cd $PRGNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -75,6 +77,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DDOC_INSTALL_DIR=doc/$PRGNAM-$VERSION \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. make @@ -85,9 +88,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/apitrace/apitrace.info b/development/apitrace/apitrace.info index c07f9baff6..582613aa9f 100644 --- a/development/apitrace/apitrace.info +++ b/development/apitrace/apitrace.info @@ -1,10 +1,10 @@ PRGNAM="apitrace" -VERSION="7.1" +VERSION="2017.11.20_19c33cb" HOMEPAGE="https://apitrace.github.io/" -DOWNLOAD="https://github.com/apitrace/apitrace/archive/7.1.tar.gz" -MD5SUM="c5d44dece1e1ca7c63f8b8efbd06ac5a" +DOWNLOAD="https://github.com/apitrace/apitrace/archive/19c33cb/apitrace-19c33cbcba64a8b28a1607d88fd1f15ba2ac3471.tar.gz" +MD5SUM="216b94d1874bc927c936517270ccc16e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Hunter Sezen" -EMAIL="ovariegata@yahoo.com" \ No newline at end of file +EMAIL="ovariegata@yahoo.com" -- cgit v1.2.3