23 lines
803 B
Bash
23 lines
803 B
Bash
# Template file for 'keepalived'
|
|
pkgname=keepalived
|
|
version=2.0.19
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-sha1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libressl-devel libnl3-devel popt-devel libnfnetlink-devel"
|
|
short_desc="Failover and monitoring daemon for LVS clusters"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.keepalived.org/"
|
|
distfiles="http://www.keepalived.org/software/${pkgname}-${version}.tar.gz"
|
|
checksum=0e2f8454765bc6a5fa26758bd9cec18aae42882843cdd24848aff0ae65ce4ca7
|
|
|
|
conf_files="/etc/keepalived/keepalived.conf"
|
|
|
|
post_install() {
|
|
vsv $pkgname
|
|
rm -rf ${DESTDIR}/etc/rc.d ${DESTDIR}/etc/sysconfig
|
|
vmkdir usr/share/examples/$pkgname
|
|
mv ${DESTDIR}/etc/$pkgname/samples/* ${DESTDIR}/usr/share/examples/$pkgname
|
|
}
|