wok annotate ftp-proxy/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents c19784df5edf
children 65ff25c4de90
rev   line source
pascal@13603 1 # SliTaz package receipt.
pascal@13603 2
pascal@13603 3 PACKAGE="ftp-proxy"
pascal@13603 4 SOURCE="proxy-suite"
pascal@13603 5 VERSION="1.9.2.4"
pascal@13603 6 CATEGORY="network"
pascal@13603 7 SHORT_DESC="Application level proxy for the FTP protocol."
pascal@13603 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
pascal@24433 10 WEB_SITE="http://ftp.suse.com/pub/projects/proxy-suite/src"
pascal@13603 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@13603 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@13603 13 CONFIG_FILES="/etc/proxy-suite/ftp-proxy.conf"
pascal@13603 14
pascal@13603 15 DEPENDS=""
pascal@13603 16 BUILD_DEPENDS=""
pascal@13603 17
pascal@24433 18 # What is the latest version available today?
pascal@24433 19 current_version()
pascal@24433 20 {
pascal@24433 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24433 22 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24433 23 }
pascal@24433 24
pascal@13603 25 # Rules to configure and make the package.
pascal@13603 26 compile_rules()
pascal@13603 27 {
pascal@13603 28 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@23624 29 make -j 1 && make -j 1 INST_ROOT=$DESTDIR install
pascal@13603 30 }
pascal@13603 31
pascal@13603 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13603 33 genpkg_rules()
pascal@13603 34 {
pascal@13603 35 cp -a $install/* $fs
pascal@13603 36 }