wok-current annotate utftpd/receipt @ rev 25597
Update desktop-file-utils-extra for default gcc-lib-base
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 20:32:10 2023 +0000 (16 months ago) |
parents | 934055de50e2 |
children |
rev | line source |
---|---|
pascal@23881 | 1 # SliTaz package receipt. |
pascal@23881 | 2 |
pascal@23881 | 3 PACKAGE="utftpd" |
pascal@25547 | 4 VERSION="0.2.4" |
pascal@23881 | 5 CATEGORY="network" |
pascal@23881 | 6 SHORT_DESC="A tiny TFTP server" |
pascal@23881 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23881 | 8 LICENSE="GPL2" |
pascal@23881 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25547 | 10 WEB_SITE="https://www.ohse.de/uwe/software/utftpd.html" |
pascal@25547 | 11 WGET_URL="https://www.ohse.de/uwe/releases/$TARBALL" |
pascal@23881 | 12 TAGS="tftp" |
pascal@23881 | 13 |
pascal@24462 | 14 # What is the latest version available today? |
pascal@24462 | 15 current_version() |
pascal@24462 | 16 { |
pascal@25547 | 17 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24462 | 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24462 | 19 } |
pascal@24462 | 20 |
pascal@23881 | 21 # Rules to configure and make the package. |
pascal@23881 | 22 compile_rules() |
pascal@23881 | 23 { |
pascal@25547 | 24 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@23881 | 25 make clean && make |
pascal@23881 | 26 } |
pascal@23881 | 27 |
pascal@23881 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23881 | 29 genpkg_rules() |
pascal@23881 | 30 { |
pascal@23881 | 31 mkdir -p $fs/usr/sbin $install/usr/man/man8 |
pascal@23881 | 32 cp -a $src/utftpd.8 $install/usr/man/man8 |
pascal@23881 | 33 cp -a $src/utftpd $fs/usr/sbin |
pascal@23881 | 34 } |