wok-current annotate lsyncd/receipt @ rev 25598
Use default gcc 6.3 for libgtop
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 07:31:59 2023 +0000 (14 months ago) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
pankso@10843 | 1 # SliTaz package receipt. |
pankso@10843 | 2 |
pankso@10843 | 3 PACKAGE="lsyncd" |
pascal@20419 | 4 VERSION="2.1.5" |
pankso@10843 | 5 CATEGORY="network" |
pankso@10843 | 6 SHORT_DESC="Live Syncing (Mirror) Daemon." |
pankso@10843 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15299 | 8 LICENSE="GPL2" |
pankso@10843 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20674 | 10 WEB_SITE="https://axkibe.github.io/lsyncd/" |
pascal@24978 | 11 WGET_URL="https://github.com/lsyncd/lsyncd/archive/refs/tags/release-$VERSION.tar.gz" |
pankso@10843 | 12 |
pankso@10843 | 13 DEPENDS="lua" |
pankso@10843 | 14 BUILD_DEPENDS="lua-dev" |
pankso@10843 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24447 | 19 wget -O - https://github.com/lsyncd/lsyncd/tags 2>/dev/null | \ |
pascal@24447 | 20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24447 | 21 } |
pascal@24447 | 22 |
pankso@10843 | 23 # Rules to configure and make the package. |
pankso@10843 | 24 compile_rules() |
pankso@10843 | 25 { |
pankso@10843 | 26 ./configure $CONFIGURE_ARGS LDFLAGS="$LDFLAGS -ldl" && |
pankso@10843 | 27 make && make install |
pankso@10843 | 28 } |
pankso@10843 | 29 |
pankso@10843 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10843 | 31 genpkg_rules() |
pankso@10843 | 32 { |
pankso@10843 | 33 mkdir -p $fs/usr |
pankso@10843 | 34 cp -a $install/usr/bin $fs/usr |
pankso@10843 | 35 } |