26 lines
943 B
Bash
26 lines
943 B
Bash
# Template file for 'keepalived'
|
|
pkgname=keepalived
|
|
version=1.3.4
|
|
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=d946e3db6f1b2ec8c8fd255c0a4d2d326d1539db61136ba147d33ef219e3a754
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
aarch64-musl) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/1290/steps/shell_3/logs/stdio" ;;
|
|
esac
|
|
|
|
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
|
|
}
|