diff options
Diffstat (limited to 'system/commons-daemon')
-rw-r--r-- | system/commons-daemon/commons-daemon.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/system/commons-daemon/commons-daemon.SlackBuild b/system/commons-daemon/commons-daemon.SlackBuild index c0cdea6982390..fa10a328af13c 100644 --- a/system/commons-daemon/commons-daemon.SlackBuild +++ b/system/commons-daemon/commons-daemon.SlackBuild @@ -97,7 +97,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 {} \; -mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/{bin,man/man1} cd src/native/unix/ CFLAGS="$SLKCFLAGS" \ @@ -114,11 +114,18 @@ cd src/native/unix/ make install -m 0755 jsvc $PKG/usr/bin/jsvc + + cd man + docbook2x-man jsvc.1.xml + install -m 644 JSVC.1 $PKG/usr/man/man1/jsvc.1 + cd .. cd ../../../ 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/man -type f -exec gzip -9 {} \; + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/jsvc cp -a src/docs LICENSE.txt NOTICE.txt RELEASE-NOTES.txt \ $PKG/usr/doc/$PRGNAM-$VERSION |