void-packages/srcpkgs/ngircd/template

28 lines
858 B
Plaintext

# Template build file for 'ngircd'
pkgname=ngircd
version=21.1
revision=4
build_style=gnu-configure
build_options="systemd"
replaces="runit-void<20141013_2"
configure_args="--enable-ipv6 --with-openssl --without-ident"
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@gmail.com>"
license="GPL-2"
distfiles="http://ngircd.barton.de/pub/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=b5b04f559bb533efc6821f2e62d83af8d196f7aa29a3710ff1e898d4e3c28a6f
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
}