wok annotate sharedance/receipt @ rev 25073

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