void-packages/srcpkgs/ncdc/template

24 lines
678 B
Bash

# Template file for 'ncdc'
pkgname=ncdc
version=1.21
revision=2
build_style=gnu-configure
configure_args="--with-geoip"
hostmakedepends="pkg-config"
makedepends="libglib-devel ncurses-devel sqlite-devel gnutls-devel zlib-devel
bzip2-devel libmaxminddb-devel"
short_desc="Modern and lightweight DC client with a ncurses interface"
maintainer="whoami <whoami@systemli.org>"
license="MIT"
homepage="https://dev.yorhel.nl/ncdc"
distfiles="https://dev.yorhel.nl/download/$pkgname-$version.tar.gz"
checksum=22904f93a553e45b84a3e72dc6209e11194087c3244fd08c6489bacdee991982
pre_build() {
make CC=$CC_FOR_BUILD CFLAGS=$BUILD_CFLAGS makeheaders
}
post_install() {
vlicense COPYING
}