void-packages/srcpkgs/ncdc/template

23 lines
682 B
Bash

# Template file for 'ncdc'
pkgname=ncdc
version=1.20
revision=1
build_style=gnu-configure
configure_args="--with-geoip"
hostmakedepends="pkg-config"
makedepends="libglib-devel ncurses-devel sqlite-devel gnutls-devel geoip-devel zlib-devel bzip2-devel"
short_desc="Modern and lightweight direct connect 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=8a998857df6289b6bd44287fc06f705b662098189f2a8fe95b1a5fbc703b9631
pre_build() {
make CC=$CC_FOR_BUILD CFLAGS=$BUILD_CFLAGS makeheaders
}
post_install() {
vlicense COPYING
}