wok diff utftpd/receipt @ rev 25548

aaphoto: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 23 17:05:06 2023 +0000 (15 months ago)
parents 934055de50e2
children
line diff
     1.1 --- a/utftpd/receipt	Wed Feb 16 21:07:01 2022 +0000
     1.2 +++ b/utftpd/receipt	Thu Mar 23 17:05:06 2023 +0000
     1.3 @@ -1,26 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="utftpd"
     1.7 -VERSION="0.2"
     1.8 +VERSION="0.2.4"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A tiny TFTP server"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://svana.org/kleptog/tftp/index.html"
    1.15 -WGET_URL="http://svana.org/kleptog/tftp/$TARBALL"
    1.16 +WEB_SITE="https://www.ohse.de/uwe/software/utftpd.html"
    1.17 +WGET_URL="https://www.ohse.de/uwe/releases/$TARBALL"
    1.18  TAGS="tftp"
    1.19  
    1.20  # What is the latest version available today?
    1.21  current_version()
    1.22  {
    1.23 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.24 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.25  	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.26  }
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.32  	make clean && make
    1.33  }
    1.34