aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libwbxml/libwbxml.SlackBuild8
-rw-r--r--libraries/libwbxml/libwbxml.info2
2 files changed, 9 insertions, 1 deletions
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}
diff --git a/libraries/libwbxml/libwbxml.info b/libraries/libwbxml/libwbxml.info
index 9f576989ec1e6..025da3281c257 100644
--- a/libraries/libwbxml/libwbxml.info
+++ b/libraries/libwbxml/libwbxml.info
@@ -2,7 +2,9 @@ PRGNAM="libwbxml"
VERSION="0.10.4"
HOMEPAGE="https://libwbxml.opensync.org/"
DOWNLOAD="http://prdownloads.sourceforge.net/libwbxml/libwbxml-0.10.4.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="6faf2bb9a72c7c6bb6d24cdd4b55d400"
+MD5SUM_x86_64=""
MAINTAINER="Michael Wagner"
EMAIL="slackware.wagnerm@arcor.de"
APPROVED="dsomero"