SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "vrrpd"

# SliTaz package receipt.

PACKAGE="vrrpd"
VERSION="1.15"
CATEGORY="network"
SHORT_DESC="High-availability: Virtual Router Redundancy Protocol daemon."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/fredbcode/Vrrpd/"
WGET_URL="https://github.com/fredbcode/Vrrpd/archive/v$VERSION.tar.gz"
CONFIG_FILES="/etc/vrrpd /etc/vrrp.conf"
TAGS="High availability HA"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/etc/init.d $fs/usr/sbin $install/usr/share
    cp -R $src/doc $install/usr/share
    cp $src/vrrpd $src/atropos $fs/usr/sbin
    cp -R $src/configs/vrrpd $fs/etc/
    ln -s vrrpd/vrrp_on.sh $fs/etc/vrrp.conf
    ln -s daemon $fs/etc/init.d/vrrpd
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)