wok-current rev 20108

Add vrrpd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 10 22:14:24 2017 +0200 (2017-10-10)
parents 7a2212bc32cd
children e4b9963526cc
files vrrpd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/vrrpd/receipt	Tue Oct 10 22:14:24 2017 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="vrrpd"
     1.7 +VERSION="1.15"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="High-availability: Virtual Router Redundancy Protocol daemon."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://numsys.eu/"
    1.14 +WGET_URL="https://github.com/fredbcode/Vrrpd/archive/v$VERSION.tar.gz"
    1.15 +CONFIG_FILES="/etc/vrrpd /etc/vrrp.conf"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	make
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/etc/init.d $fs/usr/sbin $install/usr/share
    1.27 +	cp -R $src/doc $install/usr/share
    1.28 +	cp $src/vrrpd $src/atropos $fs/usr/sbin
    1.29 +	cp -R $src/configs/vrrpd $fs/etc/
    1.30 +	ln -s vrrpd/vrrp_on.sh $fs/etc/vrrp.conf
    1.31 +	ln -s daemon $fs/etc/init.d/vrrpd
    1.32 +}