# Template file for 'connman'
pkgname=connman
version=0.78
distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--enable-pie --enable-threads --enable-ethernet
--enable-wifi --enable-bluetooth --enable-loopback --enable-google
--enable-ntpd --enable-nmcompat --enable-polkit --enable-client
--enable-capng --with-systemdunitdir=/lib/systemd/system"
revision=1
short_desc="Open Source CONNection MANager"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=7a06c4b8abe09c8c07a73e39e3fda1de1aa9168e5081ee13a0850220b7593f62
long_desc="
 The ConnMan project provides a daemon for managing internet connections
 within embedded devices running the Linux operating system. The Connection
 Manager is designed to be slim and to use as few resources as possible,
 so it can be easily integrated. It is a fully modular system that can be
 extended, through plug-ins, to support all kinds of wired or wireless
 technologies. Also, configuration methods, like DHCP and domain name
 resolving, are implemented using plug-ins. The plug-in approach allows for
 easy adaption and modification for various use cases."

subpackages="$pkgname-devel"

Add_dependency build pkg-config
Add_dependency build glib-devel
Add_dependency build dbus-devel
Add_dependency build iptables-devel
Add_dependency build libcap-ng-devel

Add_dependency full dbus
Add_dependency full bluez
Add_dependency full wpa_supplicant
