wok-6.x view keepalived/receipt @ rev 17468

Add keepalived
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 26 19:24:56 2014 +0100 (2014-12-26)
parents
children 3c95fb36898f
line source
1 # SliTaz package receipt.
3 PACKAGE="keepalived"
4 VERSION="1.2.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Routing software for loadbalancing and high-availability."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.keepalived.org/"
11 WGET_URL="${WEB_SITE}software/$TARBALL"
13 DEPENDS="libssl libnl"
14 BUILD_DEPENDS="openssl-dev glib libnl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/etc $fs/
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }