summaryrefslogtreecommitdiffstats
path: root/development/nedit/nedit.SlackBuild
diff options
context:
space:
mode:
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