development/nedit: Install 'ncl' + new maintainer.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Alessandro Pittaluga 2017-01-26 20:45:01 +00:00 committed by Willy Sudiarto Raharjo
parent 0aef9d394b
commit 066b0b5a9e
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
4 changed files with 1166 additions and 10 deletions

View File

@ -3,3 +3,6 @@ NEdit (text editor with GUI)
NEdit is a powerful plain text editor with a Motif GUI. It features
advanced macros, line numbering and syntax highlighting. Despite
being feature rich it is easy to use, even for casual users.
The Slackbuild renames 'nc' (the client version of nedit) to 'ncl',
to avoid a clash with netcat.

View File

@ -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

View File

@ -6,5 +6,5 @@ MD5SUM="f8d7e22879c7e9c62ad02eef078f1c2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Tomasz Konojacki"
EMAIL="me@xenu.tk"
MAINTAINER="Alessandro Pittaluga"
EMAIL="agp@pittux.com"

File diff suppressed because it is too large Load Diff