wok view ftp-proxy/receipt @ rev 25059

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