mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/libopensync: Updated for version 0.22
This commit is contained in:
parent
88fb200b26
commit
327ce53411
3 changed files with 28 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue