wok-current diff thttpd/receipt @ rev 24403

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 18:20:23 2022 +0000 (2022-02-08)
parents dead8955c3ca
children ad8b9ff412d2
line diff
     1.1 --- a/thttpd/receipt	Wed Sep 25 09:50:51 2013 +0000
     1.2 +++ b/thttpd/receipt	Tue Feb 08 18:20:23 2022 +0000
     1.3 @@ -1,26 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="thttpd"
     1.7 -VERSION="2.25b"
     1.8 +VERSION="2.29"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Throttleable lightweight httpd server"
    1.11 +SHORT_DESC="Throttleable lightweight httpd server."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://www.acme.com/software/thttpd/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.acme.com/software/thttpd/"
    1.18 -WGET_URL="http://www.acme.com/software/thttpd/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}$TARBALL"
    1.20  
    1.21  DEPENDS=""
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	patch -p1 -i $stuff/htpassword.c.u || exit 1
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 +	# 2.25b
    1.33 +#	patch -p1 -i $stuff/htpassword.c.u || exit 1
    1.34 +
    1.35 +	./configure				\
    1.36 +		--prefix=/usr			\
    1.37 +		--infodir=/usr/share/info	\
    1.38 +		--mandir=/usr/share/man		\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make
    1.41  }
    1.42 @@ -28,12 +30,11 @@
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr/sbin \
    1.47 -		$fs/var/log/thttpd \
    1.48 -		
    1.49 -	cp -a $src/thttpd $fs/usr/sbin
    1.50 -	cp -a $src/extras/htpasswd $fs/usr/sbin
    1.51 -	cp -a $src/extras/syslogtocern $fs/usr/sbin
    1.52 -	cp -a stuff/etc $fs/
    1.53 +	mkdir -p $fs/usr/sbin
    1.54 +	mkdir -p $fs/var/log/thttpd
    1.55 +
    1.56 +	cp -a $src/thttpd		$fs/usr/sbin
    1.57 +	cp -a $src/extras/htpasswd	$fs/usr/sbin
    1.58 +	cp -a $src/extras/syslogtocern	$fs/usr/sbin
    1.59 +	cp -a stuff/etc			$fs/
    1.60  }
    1.61 -