void-packages/srcpkgs/ngircd/template

34 lines
914 B
Text
Raw Normal View History

2013-06-18 09:26:57 +00:00
# Template build file for 'ngircd'
pkgname=ngircd
2013-12-03 09:15:10 +00:00
version=21
2013-08-29 07:29:06 +00:00
revision=1
2013-06-18 09:26:57 +00:00
build_style=gnu-configure
configure_args="--enable-ipv6 --without-ident"
hostmakedepends="pkg-config"
makedepends="zlib-devel"
conf_files="/etc/ngircd.conf"
2013-06-18 09:26:57 +00:00
homepage="http://ngircd.barton.de/"
short_desc="Free, portable and lightweight Internet Relay Chat server"
2013-06-18 09:26:57 +00:00
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
distfiles="ftp://ftp.berlios.de/pub/$pkgname/$pkgname-$version.tar.gz"
2013-12-03 09:15:10 +00:00
checksum=0edbd41304186e43f9d907a7017b40520cc90c2ce29b1339bdcd7622fffe19a0
2013-06-18 09:26:57 +00:00
# Package build options
build_options="ssl"
desc_option_ssl="Enable support for SSL"
# Enable ssl by default.
build_options_default="ssl"
if [ "$build_option_ssl" ]; then
configure_args+=" --with-openssl"
makedepends+=" openssl-devel"
else
configure_args+=" --without-openssl"
fi
post_install() {
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
}