aboutsummaryrefslogtreecommitdiff
path: root/development/gsoap/gsoap.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:24:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:24:43 +0200
commitfec388f0d1fc617a3914875fb57fc3b9db91c087 (patch)
tree4b3df9b5df15b6f9b98cab34f47e38ec87a3b78a /development/gsoap/gsoap.SlackBuild
parent8d2978d31582ceba620db048ffaf644cc4694f67 (diff)
development/gsoap: Updated for version 2.7.13
Diffstat (limited to 'development/gsoap/gsoap.SlackBuild')
-rw-r--r--development/gsoap/gsoap.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/development/gsoap/gsoap.SlackBuild b/development/gsoap/gsoap.SlackBuild
index 36073124fe5e..4d750630c012 100644
--- a/development/gsoap/gsoap.SlackBuild
+++ b/development/gsoap/gsoap.SlackBuild
@@ -35,10 +35,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
@@ -56,9 +59,9 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
--build=$ARCH-slackware-linux
# NOTICE: this will not build in parallel!
@@ -66,11 +69,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-( 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
-)
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a changelog.html LICENSE.txt NOTES.txt README.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -80,4 +78,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}