diff options
author | Heinz Wiesinger <HMWiesinger@gmx.at> | 2010-05-11 22:24:05 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:24:05 +0200 |
commit | 327ce53411f31249d96455931020f46888d7f83b (patch) | |
tree | e1f076f2e7777fa9fb97e3e003911e8388f5251f /libraries/libopensync | |
parent | 88fb200b26a4e3c92f41c4d05c07185dbd338ff9 (diff) |
libraries/libopensync: Updated for version 0.22
Diffstat (limited to 'libraries/libopensync')
-rw-r--r-- | libraries/libopensync/README | 3 | ||||
-rw-r--r-- | libraries/libopensync/libopensync.SlackBuild | 29 | ||||
-rw-r--r-- | libraries/libopensync/libopensync.info | 8 |
3 files changed, 28 insertions, 12 deletions
diff --git a/libraries/libopensync/README b/libraries/libopensync/README index b0b3470274a5..e9d02305215b 100644 --- a/libraries/libopensync/README +++ b/libraries/libopensync/README @@ -3,4 +3,5 @@ for syncing groups which can have two or more members. These members could be just about any kind of database, where a plugin is available. OpenSync is not only limited to sync PIM data. -Requires sqlite (available from SlackBuilds.org). +This requires sqlite, and you will also need swig if you want to build +the python-bindings. Both are available from SlackBuilds.org diff --git a/libraries/libopensync/libopensync.SlackBuild b/libraries/libopensync/libopensync.SlackBuild index 307899c1deb5..1bedafbe0f35 100644 --- a/libraries/libopensync/libopensync.SlackBuild +++ b/libraries/libopensync/libopensync.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libopensync -VERSION=0.36 +VERSION=0.22 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -50,11 +52,24 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -cmake \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - || exit 1 +# Cmake-based build-system used by libopensync >= 0.30 +# Uncomment this if you want to build newer versions. +# (also comment the "standard" build method below it) + +# cmake \ +# -DCMAKE_C_FLAGS="$SLKCFLAGS" \ +# -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ +# -DCMAKE_INSTALL_PREFIX=/usr + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -65,7 +80,7 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CODING COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libopensync/libopensync.info b/libraries/libopensync/libopensync.info index 184d11f9c41a..23e0e1951198 100644 --- a/libraries/libopensync/libopensync.info +++ b/libraries/libopensync/libopensync.info @@ -1,8 +1,8 @@ PRGNAM="libopensync" -VERSION="0.36" +VERSION="0.22" HOMEPAGE="http://www.opensync.org/" -DOWNLOAD="http://www.opensync.org/download/releases/0.36/libopensync-0.36.tar.bz2" -MD5SUM="d8cc7835663566e3626e959d8fb531bf" +DOWNLOAD="http://www.opensync.org/download/releases/0.22/libopensync-0.22.tar.bz2" +MD5SUM="f563ce2543312937a9afb4f8445ef932" MAINTAINER="ppr:kut" EMAIL="HMWiesinger@gmx.at" -APPROVED="David Somero" +APPROVED="rworkman" |