mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libwbxml: Updated for version 0.10.4
This commit is contained in:
parent
1a4b902d48
commit
1886b8fd55
2 changed files with 9 additions and 1 deletions
|
@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -61,6 +66,7 @@ cd build
|
||||||
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
|
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
|
||||||
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
|
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
|
||||||
-DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \
|
-DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr ..
|
-DCMAKE_INSTALL_PREFIX=/usr ..
|
||||||
|
|
||||||
make
|
make
|
||||||
|
@ -76,4 +82,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="libwbxml"
|
||||||
VERSION="0.10.4"
|
VERSION="0.10.4"
|
||||||
HOMEPAGE="https://libwbxml.opensync.org/"
|
HOMEPAGE="https://libwbxml.opensync.org/"
|
||||||
DOWNLOAD="http://prdownloads.sourceforge.net/libwbxml/libwbxml-0.10.4.tar.gz"
|
DOWNLOAD="http://prdownloads.sourceforge.net/libwbxml/libwbxml-0.10.4.tar.gz"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM="6faf2bb9a72c7c6bb6d24cdd4b55d400"
|
MD5SUM="6faf2bb9a72c7c6bb6d24cdd4b55d400"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Michael Wagner"
|
MAINTAINER="Michael Wagner"
|
||||||
EMAIL="slackware.wagnerm@arcor.de"
|
EMAIL="slackware.wagnerm@arcor.de"
|
||||||
APPROVED="dsomero"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue