libraries/libwbxml: Updated for version 0.10.4

This commit is contained in:
Michael Wagner 2010-05-13 00:32:10 +02:00 committed by David Somero
parent 1a4b902d48
commit 1886b8fd55
2 changed files with 9 additions and 1 deletions

View file

@ -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}

View file

@ -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"