summaryrefslogtreecommitdiff
path: root/libraries/libsyncml
diff options
context:
space:
mode:
authorMichael Wagner <slackware.wagnerm@arcor.de>2010-05-13 00:31:59 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:31:59 +0200
commit3e0607371c80abfc43a1ce6bc3e093a66be079f0 (patch)
treeed92a431493e864f88e98fa6fe025cd969d1fa83 /libraries/libsyncml
parent3ab7860bca534ab5b51b1892c8b6d4b75798e078 (diff)
downloadslackbuilds-3e0607371c80abfc43a1ce6bc3e093a66be079f0.tar.gz
libraries/libsyncml: Updated for version 0.4.6
Diffstat (limited to 'libraries/libsyncml')
-rw-r--r--libraries/libsyncml/README4
-rw-r--r--libraries/libsyncml/libsyncml.SlackBuild31
-rw-r--r--libraries/libsyncml/libsyncml.info4
-rw-r--r--libraries/libsyncml/slack-desc12
4 files changed, 27 insertions, 24 deletions
diff --git a/libraries/libsyncml/README b/libraries/libsyncml/README
index 8e0350c1c1..89df0dfdd9 100644
--- a/libraries/libsyncml/README
+++ b/libraries/libsyncml/README
@@ -1,5 +1,3 @@
libsyncml is a implementation of the SyncML protocol.
-Optional dependencies (available from SBo):
-- libsoup (http transport)
-- libwbxml
+Optional dependencies are libsoup and liwbxml.
diff --git a/libraries/libsyncml/libsyncml.SlackBuild b/libraries/libsyncml/libsyncml.SlackBuild
index fc72761b2b..ef105c9bee 100644
--- a/libraries/libsyncml/libsyncml.SlackBuild
+++ b/libraries/libsyncml/libsyncml.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
-#
-# Slackware build script for libsyncml
-# (C) 2008 Michael Wagner <slackware.wagnerm@arcor.de>
+
+# Slackware build script for libsyncml
+
+# (C) 2008 Michael Wagner <slackware.wagnerm@arcor.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,7 +22,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=libsyncml
VERSION=0.4.6
ARCH=${ARCH:-i486}
@@ -33,25 +33,25 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS COPYING ChangeLog README"
-
-
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
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -68,17 +68,20 @@ cd build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ..
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=$LIBDIRSUFFIX \
+ -Wno-dev \
+ ..
- make
- make install DESTDIR=$PKG
+ make
+ make install DESTDIR=$PKG
cd -
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
@@ -86,4 +89,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/libsyncml/libsyncml.info b/libraries/libsyncml/libsyncml.info
index 1b46fd8313..65a1d46411 100644
--- a/libraries/libsyncml/libsyncml.info
+++ b/libraries/libsyncml/libsyncml.info
@@ -3,6 +3,8 @@ VERSION="0.4.6"
HOMEPAGE="http://libsyncml.opensync.org/"
DOWNLOAD="http://libsyncml.opensync.org/download/releases/0.4.6/libsyncml-0.4.6.tar.bz2"
MD5SUM="d524b18c1eafe5805f83e29c01a91b66"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Michael Wagner"
EMAIL="slackware.wagnerm@arcor.de"
-APPROVED="dsomero"
+APPROVED="dsomero,pprkut"
diff --git a/libraries/libsyncml/slack-desc b/libraries/libsyncml/slack-desc
index 49ff890aca..521bc67458 100644
--- a/libraries/libsyncml/slack-desc
+++ b/libraries/libsyncml/slack-desc
@@ -11,9 +11,9 @@ libsyncml:
libsyncml: Implementation of the SyncML protocol.
libsyncml:
libsyncml: Homepage http://libsyncml.opensync.org
-libsyncml:
-libsyncml:
-libsyncml:
-libsyncml:
-libsyncml:
-libsyncml:
+libsyncml:
+libsyncml:
+libsyncml:
+libsyncml:
+libsyncml:
+libsyncml: