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