diff options
4 files changed, 33 insertions, 25 deletions
diff --git a/libraries/libopensync-plugin-syncml/README b/libraries/libopensync-plugin-syncml/README index 5a66c19b74..6775cea6f3 100644 --- a/libraries/libopensync-plugin-syncml/README +++ b/libraries/libopensync-plugin-syncml/README @@ -1,8 +1,6 @@ -libopensyn-plugin-syncml +libopensyn-plugin-syncml - syncml plugin for opensync. -Syncml plugin for opensync. +This requires libopensync and libsyncml. -It depends on(available from SBo): -- libopensync -- libsyncml -- libsoup +Please note that this plugin is configured with "--disable-http": +http://lists.slackbuilds.org/pipermail/slackbuilds-users/2009-July/004292.html diff --git a/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.SlackBuild b/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.SlackBuild index e995f4646a..733cfe8ac8 100644 --- a/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.SlackBuild +++ b/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh -# + # Slackware build script for libopensync-plugin-syncml + # (C) 2008 Michael Wagner <slackware.wagnerm@arcor.de> # All rights reserved. # @@ -32,12 +33,15 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" - if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686 -Wno-error" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686 -Wno-error" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -55,15 +59,19 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure --prefix=/usr +CFLAGS="$SLKCFLAGS -Wno-error" \ +CXXFLAGS="$SLKCFLAGS -Wno-error" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --disable-http \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* @@ -71,4 +79,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/libopensync-plugin-syncml/libopensync-plugin-syncml.info b/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.info index 8e8be70f5f..6a99b7f34b 100644 --- a/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.info +++ b/libraries/libopensync-plugin-syncml/libopensync-plugin-syncml.info @@ -3,6 +3,8 @@ VERSION="0.22" HOMEPAGE="http://www.opensync.org/" DOWNLOAD="http://www.opensync.org/download/releases/0.22/libopensync-plugin-syncml-0.22.tar.bz2" MD5SUM="8ffa3233ad28fb3ead324d88573f0c38" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Michael Wagner" EMAIL="slackware.wagnerm@arcor.de" -APPROVED="dsomero"
\ No newline at end of file +APPROVED="rworkman" diff --git a/libraries/libopensync-plugin-syncml/slack-desc b/libraries/libopensync-plugin-syncml/slack-desc index 67a1b1f32f..35de077aa0 100644 --- a/libraries/libopensync-plugin-syncml/slack-desc +++ b/libraries/libopensync-plugin-syncml/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler---------------------------------------------------| libopensync-plugin-syncml: libopensyn-plugin-syncml (Syncml plugin for opensync) -libopensync-plugin-syncml: +libopensync-plugin-syncml: libopensync-plugin-syncml: Syncml plugin for opensync. -libopensync-plugin-syncml: +libopensync-plugin-syncml: libopensync-plugin-syncml: Homepage http://www.opensync.org -libopensync-plugin-syncml: -libopensync-plugin-syncml: -libopensync-plugin-syncml: -libopensync-plugin-syncml: -libopensync-plugin-syncml: -libopensync-plugin-syncml: +libopensync-plugin-syncml: +libopensync-plugin-syncml: +libopensync-plugin-syncml: +libopensync-plugin-syncml: +libopensync-plugin-syncml: +libopensync-plugin-syncml: |