diff options
Diffstat (limited to 'libraries/libdaemon/libdaemon.SlackBuild')
-rw-r--r-- | libraries/libdaemon/libdaemon.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libraries/libdaemon/libdaemon.SlackBuild b/libraries/libdaemon/libdaemon.SlackBuild index 78c5be9d3d2a..b6ce746ac001 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 |