wok-current view sharedance/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents 535c806240cc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sharedance"
4 VERSION="0.6"
5 CATEGORY="network"
6 SHORT_DESC="High-performance server to centralize ephemeral key/data."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://web.archive.org/web/20180128000525/https://www.pureftpd.org/project/sharedance"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://download.pureftpd.org/pub/sharedance/$TARBALL"
13 DEPENDS="libevent"
14 BUILD_DEPENDS="libevent-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }