2015-02-16 16:36:29 +01:00
|
|
|
# Template file for 'keepalived'
|
|
|
|
pkgname=keepalived
|
2015-07-08 09:14:23 +02:00
|
|
|
version=1.2.19
|
2015-08-06 10:20:08 +02:00
|
|
|
revision=3
|
2015-02-16 16:36:29 +01:00
|
|
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
|
|
|
build_style=gnu-configure
|
2015-07-01 07:57:39 +02:00
|
|
|
configure_args="--enable-sha1"
|
2015-02-16 16:36:29 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libressl-devel libnl3-devel popt-devel"
|
2015-02-16 16:36:29 +01:00
|
|
|
short_desc="Failover and monitoring daemon for LVS clusters"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-02-16 16:36:29 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.keepalived.org/"
|
|
|
|
distfiles="http://www.keepalived.org/software/$pkgname-$version.tar.gz"
|
2015-07-08 09:14:23 +02:00
|
|
|
checksum=32fbae732c1cd854cacd7a930d4a26f5bad6372cdecb5e3139f0c17e87493853
|
2015-02-16 16:36:29 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|