39 lines
1 KiB
Text
39 lines
1 KiB
Text
# Template file for 'connman'
|
|
pkgname=connman
|
|
version=1.17
|
|
revision=1
|
|
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"
|
|
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=d31aa2e7dc9fa817c93aba973995b63506a8c83f55afe507028f09b580ef0b00
|
|
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel dbus-devel iptables-devel>=1.4.18
|
|
gnutls-devel>=3.1.5 readline-devel wpa_supplicant"
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
connman_package() {
|
|
depends="wpa_supplicant"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|