void-packages/srcpkgs/connman-ncurses/template

26 lines
827 B
Bash

# Template file for 'connman-ncurses'
pkgname=connman-ncurses
version=1.0
revision=5
wrksrc="connman-json-client-${version}"
build_style=gnu-configure
hostmakedepends="automake autoconf pkg-config json-c-devel ncurses-devel dbus-devel"
makedepends="json-c-devel ncurses-devel dbus-devel"
depends="dbus connman"
short_desc="Simple ncurses-based UI for ConnMan"
maintainer="Sergei Akhmatdinov <sakhmatd@riseup.net>"
license="GPL-2.0-or-later"
homepage="https://github.com/eurogiciel-oss/connman-json-client"
distfiles="https://github.com/eurogiciel-oss/connman-json-client/archive/v${version}.tar.gz"
checksum=724604787b51cd3bd2ba5d2291f5f2efe0558a1ec78d92d3c92ebc78f6c63219
pre_configure() {
mkdir -p m4
vsed -i Makefile.am -e "s;-Werror;-Wno-error;"
autoreconf -fi
}
do_install() {
vbin connman_ncurses connman-ncurses
}