development/nedit: Install 'ncl' + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
0aef9d394b
commit
066b0b5a9e
|
@ -3,3 +3,6 @@ NEdit (text editor with GUI)
|
||||||
NEdit is a powerful plain text editor with a Motif GUI. It features
|
NEdit is a powerful plain text editor with a Motif GUI. It features
|
||||||
advanced macros, line numbering and syntax highlighting. Despite
|
advanced macros, line numbering and syntax highlighting. Despite
|
||||||
being feature rich it is easy to use, even for casual users.
|
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.
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
# Slackware build script for nedit
|
# Slackware build script for nedit
|
||||||
|
|
||||||
# Copyright 2014 Tomasz Konojacki <me@xenu.tk>
|
# Copyright 2017 Alessandro Pittaluga <agp@pittux.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
||||||
|
# Author and Previous Mantainer Tomasz Konojacki <me@xenu.tk>
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
# permitted provided that the following conditions are met:
|
# permitted provided that the following conditions are met:
|
||||||
|
@ -25,12 +27,12 @@
|
||||||
PRGNAM=nedit
|
PRGNAM=nedit
|
||||||
VERSION=${VERSION:-5.6a}
|
VERSION=${VERSION:-5.6a}
|
||||||
NUMVER=$(echo $VERSION | tr -d '[:alpha:]')
|
NUMVER=$(echo $VERSION | tr -d '[:alpha:]')
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -41,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
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
|
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
|
||||||
install -m 755 source/nedit $PKG/usr/bin/nedit
|
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/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 \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -6,5 +6,5 @@ MD5SUM="f8d7e22879c7e9c62ad02eef078f1c2b"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="Tomasz Konojacki"
|
MAINTAINER="Alessandro Pittaluga"
|
||||||
EMAIL="me@xenu.tk"
|
EMAIL="agp@pittux.com"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue