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 /development/check/check.SlackBuild | |
parent | 0033545eb13b6c63bb3e6bfc60d6faf1e4731568 (diff) | |
download | slackbuilds-da7f807ed43e5721c1322ddef29efe4ebee3601f.tar.gz |
development/check: Updated for version 0.12.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/check/check.SlackBuild')
-rw-r--r-- | development/check/check.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/development/check/check.SlackBuild b/development/check/check.SlackBuild index 2068579057..20641ec9d6 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 |