diff options
author | LukenShiro <lukenshiro@ngi.it> | 2013-11-18 08:19:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-18 08:19:25 +0700 |
commit | de8c70f8560ee0a228ef3da37fd6703720477f68 (patch) | |
tree | 037e296bcd42a8d15894b2eeb4f6495dd3622f1c /network | |
parent | babc4ad19c040402805a6d94ff75e860ed9f9cb8 (diff) |
network/netsniff-ng: Move Manual to /usr/man
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/netsniff-ng/netsniff-ng.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/netsniff-ng/netsniff-ng.SlackBuild b/network/netsniff-ng/netsniff-ng.SlackBuild index cf94718a1b23..fe833b35aac2 100644 --- a/network/netsniff-ng/netsniff-ng.SlackBuild +++ b/network/netsniff-ng/netsniff-ng.SlackBuild @@ -70,6 +70,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i 's/MAN8DIR = \$(PREFIX)\/usr\/share\/man\/man8/MAN8DIR = \$(PREFIX)\/usr\/man\/man8/' Makefile CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -87,8 +88,8 @@ make install DESTDIR=$PKG PREFIX=$PKG 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 -find $PKG/usr/share/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 \ |