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"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;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
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)