# Template file for 'obex-data-server'
pkgname=obex-data-server
version=0.4.6
revision=4
build_style=gnu-configure
configure_args="--enable-bip=gdk-pixbuf --enable-system-config"
makedepends="libglib-devel libusb-compat-devel dbus-glib-devel
 libbluetooth-devel libopenobex-devel gdk-pixbuf-devel"
short_desc="D-Bus service providing high-level OBEX functionality"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wiki.muiline.com/obex-data-server"
license="GPL-2"
distfiles="http://tadas.dailyda.com/software/$pkgname-$version.tar.gz"
checksum=b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f
long_desc="
 $pkgname is D-Bus service providing high-level OBEX client and server side
 functionality (currently supports OPP, FTP, BIP profiles, Bluetooth, USB
 and TTY transports)."

obex-data-server_package() {
	conf_files="
		/etc/obex-data-server/capability.xml
		/etc/obex-data-server/imaging_capabilities.xml"
	replaces="obexd>=0"
	conflicts="obexd>=0"
	pkg_install() {
		vmove etc
		vmove usr
	}
}