wok-6.x view lsyncd/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 | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lsyncd"
4 VERSION="2.1.5"
5 CATEGORY="network"
6 SHORT_DESC="Live Syncing (Mirror) Daemon."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://axkibe.github.io/lsyncd/"
11 WGET_URL="https://github.com/lsyncd/lsyncd/archive/refs/tags/release-$VERSION.tar.gz"
13 DEPENDS="lua"
14 BUILD_DEPENDS="lua-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/lsyncd/lsyncd/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS LDFLAGS="$LDFLAGS -ldl" &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }