wok-current view vrrpd/receipt @ rev 20795
Add ifplugd & netplug
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 15 12:51:11 2019 +0100 (2019-02-15) |
parents | 031f91118a4b |
children | 626c3828c08f |
line source
1 # SliTaz package receipt.
3 PACKAGE="vrrpd"
4 VERSION="1.15"
5 CATEGORY="network"
6 SHORT_DESC="High-availability: Virtual Router Redundancy Protocol daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://numsys.eu/"
11 WGET_URL="https://github.com/fredbcode/Vrrpd/archive/v$VERSION.tar.gz"
12 CONFIG_FILES="/etc/vrrpd /etc/vrrp.conf"
13 TAGS="High availability HA"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/etc/init.d $fs/usr/sbin $install/usr/share
25 cp -R $src/doc $install/usr/share
26 cp $src/vrrpd $src/atropos $fs/usr/sbin
27 cp -R $src/configs/vrrpd $fs/etc/
28 ln -s vrrpd/vrrp_on.sh $fs/etc/vrrp.conf
29 ln -s daemon $fs/etc/init.d/vrrpd
30 }