aboutsummaryrefslogtreecommitdiff
path: root/system/ncdu
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:45:34 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:45:34 +0200
commit4302fa55794dfd0953c3b287fb10d8b80fa912a2 (patch)
tree4be2c4d9881a908ec090eb9b8119874b88924b21 /system/ncdu
parentbac9797639f1807e27631c4ad95cf7c9761d606f (diff)
system/ncdu: Updated for version 1.5
Diffstat (limited to 'system/ncdu')
-rw-r--r--system/ncdu/ncdu.SlackBuild12
-rw-r--r--system/ncdu/ncdu.info8
2 files changed, 12 insertions, 8 deletions
diff --git a/system/ncdu/ncdu.SlackBuild b/system/ncdu/ncdu.SlackBuild
index af194735c632e..8293b90c045ec 100644
--- a/system/ncdu/ncdu.SlackBuild
+++ b/system/ncdu/ncdu.SlackBuild
@@ -3,13 +3,12 @@
# Slackware build script for ncdu
# Written by Erik Hanson erik@slackbuilds.org
-set -eu
-
PRGNAM=ncdu
-VERSION=1.4
+VERSION=1.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -19,8 +18,12 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -35,7 +38,8 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
diff --git a/system/ncdu/ncdu.info b/system/ncdu/ncdu.info
index c1fb549580332..2b7100f26a211 100644
--- a/system/ncdu/ncdu.info
+++ b/system/ncdu/ncdu.info
@@ -1,8 +1,8 @@
PRGNAM="ncdu"
-VERSION="1.4"
+VERSION="1.5"
HOMEPAGE="http://dev.yorhel.nl/ncdu/"
-DOWNLOAD="http://dev.yorhel.nl/download/ncdu-1.4.tar.gz"
-MD5SUM="07f01579f7c9852033139ae9fa2414c9"
+DOWNLOAD="http://dev.yorhel.nl/download/ncdu-1.5.tar.gz"
+MD5SUM="90a69cc3b2e9f0324eb14e6ce1df0f22"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="Michiel"
+APPROVED="dsomero"