void-packages/srcpkgs/ngircd/template

22 lines
742 B
Bash

# Template build file for 'ngircd'
pkgname=ngircd
version=24
revision=4
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"
homepage="http://ngircd.barton.de/"
short_desc="Free, portable and lightweight Internet Relay Chat server"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
distfiles="https://github.com/ngircd/ngircd/releases/download/rel-${version}/ngircd-${version}.tar.xz"
checksum=173fa0ea10788a8ba08ef2f7e64ea8951d7c88862e744128c8b87bae424b1008
post_configure() {
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
}
post_install() {
vsv ngircd
}