2013-06-18 11:26:57 +02:00
|
|
|
# Template build file for 'ngircd'
|
|
|
|
pkgname=ngircd
|
2013-08-29 09:29:06 +02:00
|
|
|
version=20.3
|
|
|
|
revision=1
|
2013-06-18 11:26:57 +02:00
|
|
|
build_style=gnu-configure
|
2013-06-18 11:34:18 +02:00
|
|
|
configure_args="--enable-ipv6 --without-ident"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="zlib-devel"
|
2013-06-18 11:26:57 +02:00
|
|
|
homepage="http://ngircd.barton.de/"
|
2013-06-18 11:34:18 +02:00
|
|
|
short_desc="Free, portable and lightweight Internet Relay Chat server"
|
2013-06-18 11:26:57 +02:00
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="ftp://ftp.berlios.de/pub/$pkgname/$pkgname-$version.tar.gz"
|
2013-08-29 09:29:06 +02:00
|
|
|
checksum=55d7c74c6df790b11a68c07f39836d581965087efb618d3e9a6bec855364c2f9
|
2013-06-18 11:26:57 +02:00
|
|
|
|
2013-06-18 11:34:18 +02: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
|
|
|
|
}
|
|
|
|
|
2013-06-18 11:26:57 +02:00
|
|
|
ngircd_package() {
|
|
|
|
conf_files="/etc/ngircd.conf"
|
|
|
|
pkg_install() {
|
2013-06-18 11:34:18 +02:00
|
|
|
vmove all
|
2013-06-18 11:26:57 +02:00
|
|
|
}
|
|
|
|
}
|