void-packages/srcpkgs/connman/template
2014-04-15 09:57:04 +02:00

33 lines
1 KiB
Text

# Template file for 'connman'
pkgname=connman
version=1.23
revision=1
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 --with-systemdunitdir=/usr/lib/systemd/system"
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel iptables-devel>=1.4.18 gnutls-devel>=3.1.5 readline-devel>=6.3 wpa_supplicant"
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=1dcac1d059d5303343e544fca0d0e76837cfb32f36e4a607a71c1b65ccf007c5
post_install() {
# Install the client connmanctl.
vinstall client/connmanctl 755 usr/bin
}
connman-devel_package() {
depends="dbus-devel libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}