void-packages/srcpkgs/ngircd/template

27 lines
857 B
Plaintext

# Template build file for 'ngircd'
pkgname=ngircd
version=22
revision=3
build_style=gnu-configure
build_options="systemd"
configure_args="--enable-ipv6 --with-openssl --without-ident ac_cv_func_getaddrinfo=yes"
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel>=2.1.3"
conf_files="/etc/ngircd.conf"
homepage="http://ngircd.barton.de/"
short_desc="Free, portable and lightweight Internet Relay Chat server"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
distfiles="http://ngircd.barton.de/pub/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=a4c13e6a5f991d248412d550b4617484d7f977c786a0323f0301b4d4707a639e
post_configure() {
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
}
post_install() {
vsv ngircd
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
fi
}