diff options
Diffstat (limited to 'system/commons-daemon/commons-daemon.SlackBuild')
-rw-r--r-- | system/commons-daemon/commons-daemon.SlackBuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/system/commons-daemon/commons-daemon.SlackBuild b/system/commons-daemon/commons-daemon.SlackBuild index 9cd98298669bd..c0041bd4b6bd0 100644 --- a/system/commons-daemon/commons-daemon.SlackBuild +++ b/system/commons-daemon/commons-daemon.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for commons-daemon -# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=commons-daemon -VERSION=1.0.1 +VERSION=1.0.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,9 +49,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf daemon-$VERSION -tar xvf $CWD/daemon-$VERSION.tar.gz -cd daemon-$VERSION +rm -rf $PRGNAM-$VERSION-src +tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz +cd $PRGNAM-$VERSION-src chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -59,7 +59,10 @@ ant dist mkdir -p $PKG/usr/{share/java,bin} -cp dist/commons-daemon.jar $PKG/usr/share/java/ +cp dist/$PRGNAM-$VERSION.jar $PKG/usr/share/java/ +cd $PKG/usr/share/java + ln -s $PRGNAM-$VERSION.jar $PRGNAM.jar +cd - cd src/native/unix/ CFLAGS="$SLKCFLAGS" \ @@ -70,15 +73,15 @@ cd src/native/unix/ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --disable-static \ --build=$ARCH-slackware-linux + make clean make - install -m 755 jsvc $PKG/usr/bin/jsvc + install -m 0755 jsvc $PKG/usr/bin/jsvc cd - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/jsvc cd dist - cp -a docs/api LICENSE NOTICE.txt RELEASE-NOTES.txt \ + cp -a docs/api LICENSE.txt NOTICE.txt RELEASE-NOTES.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cd - cd src/native/unix/ |