aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdaemon/libdaemon.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-12-29 23:06:31 -0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-31 18:59:53 -0600
commit30116c2d3ca8892c98a301c3a2b36d3b3d153fff (patch)
treee16ac7c638e72884bfd21fa0020df54071c68a85 /libraries/libdaemon/libdaemon.SlackBuild
parenta5d362da5127036f0608e79a36b1411fcae5b9ac (diff)
libraries/libdaemon: Updated for version 0.14 + new maintainer.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/libdaemon/libdaemon.SlackBuild')
-rw-r--r--libraries/libdaemon/libdaemon.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/libraries/libdaemon/libdaemon.SlackBuild b/libraries/libdaemon/libdaemon.SlackBuild
index 78c5be9d3d2a0..b6ce746ac0014 100644
--- a/libraries/libdaemon/libdaemon.SlackBuild
+++ b/libraries/libdaemon/libdaemon.SlackBuild
@@ -1,6 +1,8 @@
#!/bin/sh
# Copyright 2007 by ktabic (rdc@ktabic.co.uk)
+# Copyright 2010 by Niels Horn <niels.horn@gmail.com>
+
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
@@ -19,17 +21,18 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+# Maintained as of version 0.14 by Niels Horn <niels.horn@gmail.com>
+# Revision date: 2010/12/29
+
PRGNAM=libdaemon
-VERSION=0.13
+VERSION=${VERSION:-0.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -82,7 +85,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc