summaryrefslogtreecommitdiff
path: root/development/nedit/nedit.SlackBuild
diff options
context:
space:
mode:
authorAlessandro Pittaluga <agp@pittux.com>2017-01-26 20:45:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:08 +0700
commit066b0b5a9efdf61f6ed1b444c5aedc4b5e3ba2f1 (patch)
tree3caaebf9743063ad15df6d39e3ed603c8ad07482 /development/nedit/nedit.SlackBuild
parent0aef9d394b74331feb7c54de36c9a086396d0468 (diff)
downloadslackbuilds-066b0b5a9efdf61f6ed1b444c5aedc4b5e3ba2f1.tar.gz
development/nedit: Install 'ncl' + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/nedit/nedit.SlackBuild')
-rw-r--r--development/nedit/nedit.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/development/nedit/nedit.SlackBuild b/development/nedit/nedit.SlackBuild
index 5e2d0be007..5c4b43825a 100644
--- a/development/nedit/nedit.SlackBuild
+++ b/development/nedit/nedit.SlackBuild
@@ -2,8 +2,10 @@
# Slackware build script for nedit
-# Copyright 2014 Tomasz Konojacki <me@xenu.tk>
+# Copyright 2017 Alessandro Pittaluga <agp@pittux.com>
# All rights reserved.
+
+# Author and Previous Mantainer Tomasz Konojacki <me@xenu.tk>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,12 +27,12 @@
PRGNAM=nedit
VERSION=${VERSION:-5.6a}
NUMVER=$(echo $VERSION | tr -d '[:alpha:]')
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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"
@@ -77,7 +79,9 @@ make CFLAGS="${SLKCFLAGS} -DBUILD_UNTESTED_NEDIT" linux
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
install -m 755 source/nedit $PKG/usr/bin/nedit
+install -m 755 source/nc $PKG/usr/bin/ncl
install -m 644 doc/nedit.man $PKG/usr/man/man1/nedit.1
+install -m 644 doc/ncl.man $PKG/usr/man/man1/ncl.1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true