diff options
Diffstat (limited to 'libraries/libnova/libnova.SlackBuild')
-rw-r--r-- | libraries/libnova/libnova.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/libnova/libnova.SlackBuild b/libraries/libnova/libnova.SlackBuild index 35f3fdd29c..03b6292633 100644 --- a/libraries/libnova/libnova.SlackBuild +++ b/libraries/libnova/libnova.SlackBuild @@ -2,8 +2,10 @@ # Slackware build script for libnova -# Copyright 2013, Chris Abela, Malta -# Copyright 2014, Ryan P.C. McQuen, ryanpcmcquen@member.fsf.org, WA +# Copyright 2013 Chris Abela +# Copyright 2014 Ryan P.C. McQuen <ryanpcmcquen at member dot fsf dot org> +# Copyright 2017 Philip Lacroix <slackph at posteo dot de> +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -30,7 +32,7 @@ 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 @@ -41,8 +43,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" @@ -93,12 +95,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr cp -a doc/man $PKG/usr/man rm -f $PKG/usr/man/man3/_tmp*.3 -rm -f $PKG/usr/man/man3/version.3 # conflicts with the Slackware perl package +rm -f $PKG/usr/man/man3/version.3 # This conflicts with the Slackware perl package find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README doc/html examples \ +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README doc/html examples \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |