void-packages/srcpkgs/ngircd/template
2016-10-06 03:48:10 -04:00

22 lines
741 B
Bash

# Template build file for 'ngircd'
pkgname=ngircd
version=23
revision=3
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.eu>"
license="GPL-2"
distfiles="https://github.com/ngircd/ngircd/releases/download/rel-${version}/ngircd-${version}.tar.xz"
checksum=d431bdbc07401b29696b2119963dde2322052a7d8924188947fa3870a138fb6a
post_configure() {
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
}
post_install() {
vsv ngircd
}