aboutsummaryrefslogtreecommitdiff
path: root/system/fusesmb
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-12-31 13:02:44 -0500
committerErik Hanson <erik@slackbuilds.org>2012-01-13 14:43:12 -0600
commite3c568168f8d00f72738eae05bb875077e504dc4 (patch)
treecbe3ec883691714243689240634213456921a3dd /system/fusesmb
parent75675f415d39492be033c06be5ebb45b9b591378 (diff)
system/fusesmb: Fixed typo and misc clean up.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/fusesmb')
-rw-r--r--system/fusesmb/fusesmb.SlackBuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/system/fusesmb/fusesmb.SlackBuild b/system/fusesmb/fusesmb.SlackBuild
index 0cd22b4fc1b4f..0bcefb09b0f39 100644
--- a/system/fusesmb/fusesmb.SlackBuild
+++ b/system/fusesmb/fusesmb.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=fusesmb
VERSION=${VERSION:-0.8.7}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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
@@ -44,13 +42,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- APPROVED=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- APPROVED=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- APPROVED="64"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -81,13 +79,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \