2009-12-03 07:42:16 +01:00
|
|
|
# Template file for 'connman'
|
|
|
|
pkgname=connman
|
2015-04-21 07:28:44 +02:00
|
|
|
version=1.29
|
2015-06-03 23:26:24 +02:00
|
|
|
revision=5
|
2014-04-15 09:55:37 +02:00
|
|
|
lib32disaled=yes
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-05-31 16:56:05 +02:00
|
|
|
configure_args="--sbindir=/usr/bin
|
2015-01-15 15:20:22 +01:00
|
|
|
--enable-polkit --enable-client --enable-pie --enable-ethernet
|
2012-10-12 09:36:26 +02:00
|
|
|
--enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat
|
2015-01-15 15:20:22 +01:00
|
|
|
--enable-openvpn --with-openvpn=/usr/bin/openvpn --enable-openconnect
|
2015-06-03 23:26:24 +02:00
|
|
|
--disable-tools --disable-wispr --with-openconnect=/usr/bin/openconnect"
|
2015-05-31 16:03:15 +02:00
|
|
|
hostmakedepends="automake libtool pkg-config wpa_supplicant iptables"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libglib-devel dbus-devel iptables-devel gnutls-devel readline-devel"
|
2014-01-04 11:25:09 +01:00
|
|
|
depends="wpa_supplicant"
|
2009-12-03 07:42:16 +01:00
|
|
|
short_desc="Open Source CONNection MANager"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-05-15 18:37:10 +02:00
|
|
|
license="GPL-2"
|
2012-07-09 23:21:16 +02:00
|
|
|
homepage="http://connman.net/"
|
|
|
|
distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.xz"
|
2015-04-21 07:28:44 +02:00
|
|
|
checksum=2a5a69693566f7fd59b2e677fa89356ada6d709998aa665caef8707b1e7a8594
|
2014-09-11 22:51:01 +02:00
|
|
|
|
2015-05-31 16:03:15 +02:00
|
|
|
pre_configure() {
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl)
|
|
|
|
for f in ${FILESDIR}/musl/*.patch; do
|
|
|
|
patch -Np1 -i $f
|
|
|
|
done
|
|
|
|
;;
|
|
|
|
*) export CFLAGS+=" -D_GNU_SOURCE";;
|
|
|
|
esac
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2012-12-07 16:11:22 +01:00
|
|
|
post_install() {
|
|
|
|
# Install the client connmanctl.
|
2014-09-08 10:52:56 +02:00
|
|
|
vbin client/connmanctl
|
2014-10-13 13:12:20 +02:00
|
|
|
vsv connmand
|
2012-12-07 16:11:22 +01:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
connman-devel_package() {
|
2013-04-26 05:36:37 +02:00
|
|
|
depends="dbus-devel libglib-devel"
|
2013-09-03 09:25:06 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|