wok view ftp-proxy/receipt @ rev 25507
plop: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 11 10:36:59 2023 +0000 (21 months ago) |
parents | ad8b9ff412d2 |
children |
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="https://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 }