2013-06-18 09:26:57 +00:00
|
|
|
# Template build file for 'ngircd'
|
|
|
|
pkgname=ngircd
|
2014-06-08 10:31:36 +00:00
|
|
|
version=21.1
|
2014-07-14 17:03:00 +00:00
|
|
|
revision=2
|
2013-06-18 09:26:57 +00:00
|
|
|
build_style=gnu-configure
|
2013-06-18 09:34:18 +00:00
|
|
|
configure_args="--enable-ipv6 --without-ident"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="zlib-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"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
|
|
|
checksum=b5b04f559bb533efc6821f2e62d83af8d196f7aa29a3710ff1e898d4e3c28a6f
|
2013-06-18 09:26:57 +00:00
|
|
|
|
2013-06-18 09:34:18 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="ssl"
|
|
|
|
# Enable ssl by default.
|
|
|
|
build_options_default="ssl"
|
|
|
|
|
|
|
|
if [ "$build_option_ssl" ]; then
|
|
|
|
configure_args+=" --with-openssl"
|
2014-07-14 17:03:00 +00:00
|
|
|
makedepends+=" libressl-devel"
|
2013-06-18 09:34:18 +00:00
|
|
|
else
|
|
|
|
configure_args+=" --without-openssl"
|
|
|
|
fi
|
|
|
|
|
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() {
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
|
|
|
}
|