mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/ncp: Fix npoll and npush symlinks.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bd9ea97789
commit
bdfe83733b
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue