void-packages/srcpkgs/ofono/template

34 lines
936 B
Bash

# Template file for 'ofono'
pkgname=ofono
version=1.26
revision=1
build_style=gnu-configure
configure_args="--disable-bluez4 --enable-external-ell"
conf_files="/etc/ofono/phonesim.conf /etc/dbus-1/system.d/ofono.conf"
hostmakedepends="pkg-config"
makedepends="libglib-devel eudev-libudev-devel mobile-broadband-provider-info ell-devel"
short_desc="Infrastructure for building mobile telephony (GMS/UTMS) applications"
maintainer="Daniel Santana <daniel@santana.tech>"
license="GPL-2.0-or-later"
homepage="https://01.org/ofono"
distfiles="${KERNEL_SITE}/network/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=92e18c20c889addda648aefbb5e3ab1238007d88b18449f407a96533afe18026
pre_configure() {
rm -rf ell
}
post_install() {
vsv ofonod
vlicense COPYING
}
ofono-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}