void-packages/srcpkgs/ncdc/template

25 lines
723 B
Bash

# Template file for 'ncdc'
pkgname=ncdc
version=1.24
revision=1
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"
changelog="https://dev.yorhel.nl/ncdc/changes"
distfiles="https://dev.yorhel.nl/download/ncdc-${version}.tar.gz"
checksum=233510d5355fc72fdad3578ebc8ab35d1da95b21d2774990f3a1356b7112da1e
pre_build() {
make CC=$CC_FOR_BUILD CFLAGS=$BUILD_CFLAGS makeheaders
}
post_install() {
vlicense COPYING
}