void-packages/srcpkgs/connman/template

47 lines
1.3 KiB
Bash
Raw Normal View History

# 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
build_style=gnu-configure
2015-05-31 14:56:05 +00:00
configure_args="--sbindir=/usr/bin
--enable-polkit --enable-client --enable-pie --enable-ethernet
2012-10-12 07:36:26 +00:00
--enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat
--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"
hostmakedepends="automake libtool pkg-config wpa_supplicant iptables"
makedepends="libglib-devel dbus-devel iptables-devel gnutls-devel readline-devel"
2014-01-04 10:25:09 +00:00
depends="wpa_supplicant"
short_desc="Open Source CONNection MANager"
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
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
}
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
}
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"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}