summaryrefslogtreecommitdiff
path: root/network/smb4k/smb4k.SlackBuild
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2012-02-12 20:05:59 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2012-02-18 09:12:29 -0200
commitb85ff6f7dbd248f71600586ab1d82f2e86111f74 (patch)
treedeeb62345d6e3753302d6417731f9a65739cbcd0 /network/smb4k/smb4k.SlackBuild
parentd2e2932320d8598a528a3f8b10c8e3f4571ee0e1 (diff)
downloadslackbuilds-b85ff6f7dbd248f71600586ab1d82f2e86111f74.tar.gz
network/smb4k: Updated for version 1.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/smb4k/smb4k.SlackBuild')
-rw-r--r--network/smb4k/smb4k.SlackBuild33
1 files changed, 26 insertions, 7 deletions
diff --git a/network/smb4k/smb4k.SlackBuild b/network/smb4k/smb4k.SlackBuild
index e328f2fd44..f03a890622 100644
--- a/network/smb4k/smb4k.SlackBuild
+++ b/network/smb4k/smb4k.SlackBuild
@@ -1,12 +1,30 @@
#!/bin/sh
# Slackware build script for smb4k
-# Project Homepage: http://smb4k.sourceforge.net/
-# Written by Roberto Neri <rneri@libero.it>
+# Copyright 2008-2012 Roberto Neri, Palermo, Italy
+#
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smb4k
-VERSION=${VERSION:-0.10.12}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +70,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-rm -rf build
mkdir build
cd build
cmake \
@@ -61,7 +78,7 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONF_INSTALL_DIR=/etc/kde \
+ -DSYSCONF_INSTALL_DIR=/etc \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
..
make
@@ -71,11 +88,13 @@ 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
+mv $PKG/etc/dbus-1/system.d/de.berlios.smb4k.mounthelper.conf \
+ $PKG/etc/dbus-1/system.d/de.berlios.smb4k.mounthelper.conf.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUGS ChangeLog COPYING FAQ README TODO \
+ AUTHORS BUGS ChangeLog COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
-( cd $PKG/usr/doc/$PRGNAM-$VERSION ; chmod 644 * )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install