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