From 1886b8fd55f884bfd9e17c036ae778bc1b5f928a Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Thu, 13 May 2010 00:32:10 +0200 Subject: libraries/libwbxml: Updated for version 0.10.4 --- libraries/libwbxml/libwbxml.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libraries/libwbxml/libwbxml.SlackBuild') diff --git a/libraries/libwbxml/libwbxml.SlackBuild b/libraries/libwbxml/libwbxml.SlackBuild index f26802a34cd63..30540bd5c79b9 100644 --- a/libraries/libwbxml/libwbxml.SlackBuild +++ b/libraries/libwbxml/libwbxml.SlackBuild @@ -35,8 +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 @@ -61,6 +66,7 @@ cd build -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \ + -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_PREFIX=/usr .. make @@ -76,4 +82,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} -- cgit v1.2.3