wok-6.x diff thttpd/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents dead8955c3ca
children ad8b9ff412d2
line diff
     1.1 --- a/thttpd/receipt	Wed Sep 25 09:50:51 2013 +0000
     1.2 +++ b/thttpd/receipt	Thu Feb 06 12:27:36 2020 +0100
     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 -