aboutsummaryrefslogtreecommitdiff
path: root/network/ncp/ncp.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-03 21:44:09 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:45 +0700
commitbdfe83733b923932874d4001fcf2acc5d0019496 (patch)
treedab47bdcdbe47afb9eb28d1d27568dbec65337db /network/ncp/ncp.SlackBuild
parentbd9ea97789bb01c85c1e0c39305a141fd8afc0a7 (diff)
network/ncp: Fix npoll and npush symlinks.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ncp/ncp.SlackBuild')
-rw-r--r--network/ncp/ncp.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/network/ncp/ncp.SlackBuild b/network/ncp/ncp.SlackBuild
index 31f67954aad2..5fa5792e7e27 100644
--- a/network/ncp/ncp.SlackBuild
+++ b/network/ncp/ncp.SlackBuild
@@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: BUILD=3, how did I miss broken symlinks?
# 20220207 bkw: BUILD=2, libowfat changed its dir structure.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ncp
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,6 +72,12 @@ make install PREFIX=$PKG/usr
gzip $PKG/usr/man/man1/*.1
ln -s npush.1.gz $PKG/usr/man/man1/npoll.1.gz
+# 20230103 bkw: grrr. no DESTDIR support in the Makefile, so we get
+# broken symlinks.
+rm -f $PKG/usr/bin/{npush,npoll}
+ln -s ncp $PKG/usr/bin/npush
+ln -s ncp $PKG/usr/bin/npoll
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild