22 lines
786 B
Bash
22 lines
786 B
Bash
# Template file for 'keepalived'
|
|
pkgname=keepalived
|
|
version=1.2.22
|
|
revision=1
|
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.keepalived.org/"
|
|
distfiles="http://www.keepalived.org/software/$pkgname-$version.tar.gz"
|
|
checksum=0e386ec0bcad19c202330020a58a0d10b82ca9c107e4d07913664f93cd3df42a
|
|
|
|
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
|
|
}
|