void-packages/srcpkgs/keepalived/template
2016-12-10 06:53:05 +01:00

22 lines
785 B
Bash

# Template file for 'keepalived'
pkgname=keepalived
version=1.3.2
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=bb6729a7b7402ef5ef89e895b2dd597880702a4e2351d4da2f88bf24284e38f4
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
}