summaryrefslogtreecommitdiff
path: root/libraries/libnova/libnova.SlackBuild
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2017-10-23 23:56:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-28 07:06:55 +0700
commitb7c53cd84f2d6f8d71d91cf3fb8315c6de485449 (patch)
tree6e74f2381d6c325a772af9a7103d581518ccbb9e /libraries/libnova/libnova.SlackBuild
parentc1e767a8ae18e8ffe5ad3a33d89818a8c5d91efc (diff)
downloadslackbuilds-b7c53cd84f2d6f8d71d91cf3fb8315c6de485449.tar.gz
libraries/libnova: Switch to i586 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libnova/libnova.SlackBuild')
-rw-r--r--libraries/libnova/libnova.SlackBuild17
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