#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=libsynce
pkgver=0.14
pkgrel=1tm
arch=x86_64
source=("http://mesh.dl.sourceforge.net/project/synce/SynCE/$pkgver/libsynce-$pkgver.tar.gz")
url="http://www.synce.org"
docs=('ChangeLog' 'LICENSE' 'README' 'TODO')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (connect to Windows Mobile device)"
"The purpose of the SynCE project is to provide a means of"
"communication with a Windows Mobile device from a computer running"
"Linux, *BSD or other unixes using USB or Bluetooth. One can then use"
"one's computer to browse files, install applications and synchronize"
"contacts, calendar and tasks with their PIM application of choice."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make -j3 || return 1
	make DESTDIR=$startdir/pkg/ install || return 1
}