wok-current view gesftpserver/receipt @ rev 25293
updated rust and rust-cargo (1.47.0 -> 1.62.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 11:14:38 2022 +0100 (2022-07-19) |
parents | 587d54bf66fa |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gesftpserver"
4 VERSION="1"
5 CATEGORY="network"
6 SHORT_DESC="Green End SFTP Server with up to version 6 protocol support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.greenend.org.uk/rjk/sftpserver"
11 SOURCE="sftpserver"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/sbin
36 cp -a $install/usr/libexec/gesftpserver $fs/usr/sbin/sftp-server
37 }