void-packages/srcpkgs/keepalived/template
2015-07-19 11:08:28 +02:00

22 lines
767 B
Bash

# Template file for 'keepalived'
pkgname=keepalived
version=1.2.19
revision=2
conf_files="/etc/${pkgname}/${pkgname}.conf"
build_style=gnu-configure
configure_args="--enable-sha1"
hostmakedepends="pkg-config"
makedepends="libressl-devel libnl3-devel popt-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=32fbae732c1cd854cacd7a930d4a26f5bad6372cdecb5e3139f0c17e87493853
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
}