SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lsyncd"

# SliTaz package receipt.

PACKAGE="lsyncd"
VERSION="2.1.5"
CATEGORY="network"
SHORT_DESC="Live Syncing (Mirror) Daemon."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://axkibe.github.io/lsyncd/"
WGET_URL="https://github.com/lsyncd/lsyncd/archive/refs/tags/release-$VERSION.tar.gz"

DEPENDS="lua"
BUILD_DEPENDS="lua-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/lsyncd/lsyncd/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS LDFLAGS="$LDFLAGS -ldl" &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)