updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / connman / PKGBUILD
blobfdd7d9d31dc13416801eec9e91316acf715486fd
1 # Maintainer: Lucas De Marchi <lucas.de.marchi@gmail.com>
3 pkgname=connman
4 pkgver=0.78
5 pkgrel=1
6 pkgdesc="Wireless LAN network manager"
7 url="http://connman.net/"
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=('dbus-core' 'iptables' 'glib2')
11 conflicts=('openresolv')
12 optdepends=('bluez: Support for Bluetooth devices'
13             'wpa_supplicant: For WiFi devices')
14 makedepends=('bluez' 'wpa_supplicant')
15 options=('!libtool')
16 source=("connmand-daemon"
17         "http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
18         "allow_group_network.diff"
19         )
21 build() {
22   cd ${srcdir}/${pkgname}-${pkgver}
24   patch -Np1 -i ${srcdir}/allow_group_network.diff || return 1
26   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
27         --enable-ethernet \
28         --enable-wifi \
29         --enable-bluetooth \
30         --enable-openvpn \
31         --enable-loopback \
32         --enable-pacrunner \
33         --enable-ntpd \
34         --enable-polkit
36   make  || return 1
37   make DESTDIR=${pkgdir} install || return 1
39   install -Dm755 $srcdir/connmand-daemon $pkgdir/etc/rc.d/connmand
41 md5sums=('88ece7cbf1d0d289545ce4f8553fdab8'
42          'd7029cbf5f0e907fb53046a524941872'
43          'a8d22ee089fb0ed725130d16ad393047')