2013-06-18 09:26:57 +00:00
|
|
|
# Template build file for 'ngircd'
|
|
|
|
pkgname=ngircd
|
2015-04-08 05:10:11 +00:00
|
|
|
version=22.1
|
|
|
|
revision=1
|
2013-06-18 09:26:57 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-13 14:38:24 +00:00
|
|
|
build_options="systemd"
|
2014-11-24 10:01:46 +00:00
|
|
|
configure_args="--enable-ipv6 --with-openssl --without-ident ac_cv_func_getaddrinfo=yes"
|
2013-06-18 09:34:18 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="zlib-devel libressl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/ngircd.conf"
|
2013-06-18 09:26:57 +00:00
|
|
|
homepage="http://ngircd.barton.de/"
|
2013-06-18 09:34:18 +00:00
|
|
|
short_desc="Free, portable and lightweight Internet Relay Chat server"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-06-18 09:26:57 +00:00
|
|
|
license="GPL-2"
|
2014-06-08 10:31:36 +00:00
|
|
|
distfiles="http://ngircd.barton.de/pub/${pkgname}/${pkgname}-${version}.tar.xz"
|
2015-04-08 05:10:11 +00:00
|
|
|
checksum=cbe76d63fa919b2eaa87c5942f587f9fa95291e6fa4d7490d71bc94fa69b4956
|
2013-06-18 09:26:57 +00:00
|
|
|
|
2014-06-09 06:24:44 +00:00
|
|
|
post_configure() {
|
|
|
|
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
|
|
|
|
}
|
2013-06-18 09:34:18 +00:00
|
|
|
post_install() {
|
2014-10-13 14:38:24 +00:00
|
|
|
vsv ngircd
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
|
|
|
fi
|
2013-06-18 09:34:18 +00:00
|
|
|
}
|