summaryrefslogtreecommitdiff
path: root/network/fdm/fdm.SlackBuild
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@gmail.com>2010-05-13 00:36:24 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:36:24 +0200
commita4d9bf3562ecdfc62b31d2cab6b1b0945f3276fd (patch)
treecb10e6caa2f4a982e4915a6fc776b2ebcf642b7f /network/fdm/fdm.SlackBuild
parentbe48e858385bef134f4bcb7a55d1325f4b16f5e2 (diff)
downloadslackbuilds-a4d9bf3562ecdfc62b31d2cab6b1b0945f3276fd.tar.gz
network/fdm: Updated for version 1.6
Diffstat (limited to 'network/fdm/fdm.SlackBuild')
-rw-r--r--network/fdm/fdm.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/network/fdm/fdm.SlackBuild b/network/fdm/fdm.SlackBuild
index 08041e8d25..9db60bf5e0 100644
--- a/network/fdm/fdm.SlackBuild
+++ b/network/fdm/fdm.SlackBuild
@@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -50,8 +53,10 @@ make install \
DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -69,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}