void-packages/srcpkgs/connman/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

37 lines
1.1 KiB
Bash

# Template file for 'connman'
pkgname=connman
version=1.28
revision=1
lib32disaled=yes
build_options="systemd"
build_style=gnu-configure
configure_args="
--enable-polkit --enable-client --enable-pie --enable-ethernet
--enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat
--enable-openvpn --with-openvpn=/usr/bin/openvpn --enable-openconnect
--with-openconnect=/usr/sbin/openconnect
$(vopt_if systemd --with-systemdunitdir=/usr/lib/systemd/system)"
hostmakedepends="pkg-config wpa_supplicant iptables"
makedepends="libglib-devel dbus-devel iptables-devel gnutls-devel readline-devel"
depends="wpa_supplicant"
short_desc="Open Source CONNection MANager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://connman.net/"
distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.xz"
checksum=b1d5e7dd2652725906e220a8b0206477e97080e835272971e3b2fd10943c5c94
post_install() {
# Install the client connmanctl.
vbin client/connmanctl
vsv connmand
}
connman-devel_package() {
depends="dbus-devel libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}