void-packages/srcpkgs/connman/template

38 lines
1.1 KiB
Plaintext

# Template file for 'connman'
pkgname=connman
version=1.26
revision=2
lib32disaled=yes
build_style=gnu-configure
configure_args="--enable-pie --enable-threads --enable-ethernet
--enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat
--enable-polkit --enable-client
$(vopt_if systemd --with-systemdunitdir=/usr/lib/systemd/system)"
hostmakedepends="pkg-config wpa_supplicant"
makedepends="libglib-devel dbus-devel iptables-devel>=1.4.18 gnutls-devel>=3.1.5 readline-devel>=6.3"
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=7184e4b6d954449ee00a30e188924b3e37a20ad2fd9a0b76a2bdd82c863dcf8a
build_options="systemd"
replaces="runit-void<20141013_2"
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
}
}