23 lines
801 B
Bash
23 lines
801 B
Bash
# Template file for 'keepalived'
|
|
pkgname=keepalived
|
|
version=2.0.16
|
|
revision=2
|
|
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-or-later"
|
|
homepage="http://www.keepalived.org/"
|
|
distfiles="http://www.keepalived.org/software/${pkgname}-${version}.tar.gz"
|
|
checksum=f0c7dc86147a286913c1c2c918f557735016285d25779d4d2fce5732fcb888df
|
|
|
|
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
|
|
}
|