ngircd: added runit service.
This commit is contained in:
parent
7ca2cb50cd
commit
0a8a731444
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec ngircd -n
|
|
@ -1,8 +1,10 @@
|
|||
# Template build file for 'ngircd'
|
||||
pkgname=ngircd
|
||||
version=21.1
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
build_options="systemd"
|
||||
replaces="runit-void<20141013_2"
|
||||
configure_args="--enable-ipv6 --with-openssl --without-ident"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libressl-devel"
|
||||
|
@ -18,5 +20,8 @@ post_configure() {
|
|||
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
|
||||
}
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||
vsv ngircd
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue