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