void-packages/srcpkgs/ngircd/template

23 lines
706 B
Bash

# Template file for 'ngircd'
pkgname=ngircd
version=25
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6 --with-openssl --without-ident ac_cv_func_getaddrinfo=yes"
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel"
conf_files="/etc/ngircd.conf"
short_desc="Free, portable and lightweight Internet Relay Chat server"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="http://ngircd.barton.de/"
distfiles="https://ngircd.barton.de/pub/ngircd/ngircd-${version}.tar.xz"
checksum=c4997cae3e3dd6ff6a605ca274268f2b8c9ba0b1a96792c7402e5594222eee4e
post_configure() {
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
}
post_install() {
vsv ngircd
}