diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-08-09 17:22:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | a87b0ab07d25ffee7eb73eb71aea60b1ecfd3ed7 (patch) | |
tree | 6b9ca482d01ccd2fcafe00d0e1c84de55127a8b3 /development/nedit/nedit.SlackBuild | |
parent | 2f34ffad4bf8f309fcadbce7302691528826f080 (diff) | |
download | slackbuilds-a87b0ab07d25ffee7eb73eb71aea60b1ecfd3ed7.tar.gz |
development/nedit: Updated for version 5.6a.
Fixes build failure with motif-2.3.4 on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/nedit/nedit.SlackBuild')
-rw-r--r-- | development/nedit/nedit.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/development/nedit/nedit.SlackBuild b/development/nedit/nedit.SlackBuild index 6bf9c6e614..8e0133eb4c 100644 --- a/development/nedit/nedit.SlackBuild +++ b/development/nedit/nedit.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nedit -VERSION=${VERSION:-5.5} +VERSION=${VERSION:-5.6a} +NUMVER=$(echo $VERSION | tr -d '[:alpha:]') BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,20 +60,20 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar jxvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$NUMVER +tar xvf $CWD/$PRGNAM-$VERSION-src.tar.?z* +cd $PRGNAM-$NUMVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Apply patch to make compilation possible patch -p1 < $CWD/nedit.patch -make linux +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 @@ -85,8 +86,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYRIGHT ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYRIGHT ChangeLog README doc/faq.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |