summaryrefslogtreecommitdiff
path: root/system/commons-daemon/commons-daemon.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 19:16:20 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:28 -0500
commit4e72060c79db8f41412b39cdbf13bf049a5f0672 (patch)
treecb4a9909b865b37b75fec9debe5806f74f8f3c4b /system/commons-daemon/commons-daemon.SlackBuild
parent1b79f7bd231f434f9d41658e5bd249b9d93ad5d9 (diff)
downloadslackbuilds-4e72060c79db8f41412b39cdbf13bf049a5f0672.tar.gz
system/commons-daemon: Updated for version 1.0.2.
Diffstat (limited to 'system/commons-daemon/commons-daemon.SlackBuild')
-rw-r--r--system/commons-daemon/commons-daemon.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/system/commons-daemon/commons-daemon.SlackBuild b/system/commons-daemon/commons-daemon.SlackBuild
index 9cd9829866..c0041bd4b6 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/