wok view utftpd/receipt @ rev 25306
sip-4.19.25: last version for Python 2
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:39:41 2022 +0100 (2022-07-20) |
parents | a5ee74db1fee |
children | e4cc6a0d37f0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="utftpd"
4 VERSION="0.2"
5 CATEGORY="network"
6 SHORT_DESC="A tiny TFTP server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://svana.org/kleptog/tftp/index.html"
11 WGET_URL="http://svana.org/kleptog/tftp/$TARBALL"
12 TAGS="tftp"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make clean && make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/sbin $install/usr/man/man8
31 cp -a $src/utftpd.8 $install/usr/man/man8
32 cp -a $src/utftpd $fs/usr/sbin
33 }