libraries/libopensync-plugin-syncml: Updated for version 0.22

This commit is contained in:
Michael Wagner 2010-05-13 00:31:31 +02:00 committed by Robby Workman
parent fc4191c267
commit 00e4da5990
4 changed files with 33 additions and 25 deletions

View file

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

View file

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

View file

@ -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"
APPROVED="rworkman"

View file

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