# Tanım: Kablosuz LAN ağı programı
# URL: https://01.org/connman
# Paketçi: milisarge
# Gerekler: iptables libmnl dbus gnutls glib openconnect openvpn wpa-supplicant ppp
# Grup: ağ

isim=connman
surum=1.36
devir=1
kaynak=(https://www.kernel.org/pub/linux/network/${isim}/${isim}-${surum}.tar.xz
		allow_group_network.diff)

derle() {
	cd $SRC/${isim}-${surum}
	patch -Np1 -i "${SRC}/allow_group_network.diff"
	./configure --prefix=/usr \
				--bindir=/usr/bin \
				--mandir=/usr/share/man \
				--enable-openvpn \
				--enable-pptp \
				--enable-client \
				--enable-polkit

	make
	make DESTDIR=$PKG install
	cd /sources/milis.git/ayarlar/servisler
	make DESTDIR=$PKG kur-connmand 
}
