wok-6.x view vrrpd/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | 626c3828c08f |
children |
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="https://github.com/fredbcode/Vrrpd/"
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 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc/init.d $fs/usr/sbin $install/usr/share
31 cp -R $src/doc $install/usr/share
32 cp $src/vrrpd $src/atropos $fs/usr/sbin
33 cp -R $src/configs/vrrpd $fs/etc/
34 ln -s vrrpd/vrrp_on.sh $fs/etc/vrrp.conf
35 ln -s daemon $fs/etc/init.d/vrrpd
36 }