void-packages/srcpkgs/ngircd/template

27 lines
850 B
Plaintext
Raw Normal View History

2013-06-18 11:26:57 +02:00
# Template build file for 'ngircd'
pkgname=ngircd
2014-11-24 11:01:46 +01:00
version=22
revision=1
2013-06-18 11:26:57 +02:00
build_style=gnu-configure
2014-10-13 16:38:24 +02:00
build_options="systemd"
2014-11-24 11:01:46 +01:00
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"
2013-06-18 11:26:57 +02:00
homepage="http://ngircd.barton.de/"
short_desc="Free, portable and lightweight Internet Relay Chat server"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-06-18 11:26:57 +02:00
license="GPL-2"
2014-06-08 12:31:36 +02:00
distfiles="http://ngircd.barton.de/pub/${pkgname}/${pkgname}-${version}.tar.xz"
2014-11-24 11:01:46 +01:00
checksum=a4c13e6a5f991d248412d550b4617484d7f977c786a0323f0301b4d4707a639e
2013-06-18 11:26:57 +02:00
2014-06-09 08:24:44 +02:00
post_configure() {
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
}
post_install() {
2014-10-13 16:38:24 +02:00
vsv ngircd
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
fi
}