aboutsummaryrefslogtreecommitdiff
path: root/misc/bodr/bodr.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2021-05-18 17:38:59 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-18 23:40:21 +0700
commit3516cf96ce68a8b9d64e476904b2b45787eea4bd (patch)
treea9073e1e74b64b508d65b6c535e5523907223096 /misc/bodr/bodr.SlackBuild
parent907bbdee5510b4182abba072c5cd3e66c37614f1 (diff)
misc/bodr: update copyright years
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/bodr/bodr.SlackBuild')
-rw-r--r--misc/bodr/bodr.SlackBuild20
1 files changed, 2 insertions, 18 deletions
diff --git a/misc/bodr/bodr.SlackBuild b/misc/bodr/bodr.SlackBuild
index d82beb41ea224..05ca2c22aac03 100644
--- a/misc/bodr/bodr.SlackBuild
+++ b/misc/bodr/bodr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bodr
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=bodr
VERSION=${VERSION:-10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -34,20 +34,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -63,8 +49,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \