wok view lsyncd/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | eeba7ab1dffe |
children | 00e3b45c063b |
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="http://lsyncd.googlecode.com/files/$TARBALL"
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 }