wok-next diff thttpd/receipt @ rev 21635

updated f2fs-tools (1.8.0 -> 1.13.0)
author Hans-G?nter Theisgen
date Fri Jun 26 11:04:48 2020 +0100 (2020-06-26)
parents d6378d455338
children
line diff
     1.1 --- a/thttpd/receipt	Thu May 10 21:12:00 2018 +0300
     1.2 +++ b/thttpd/receipt	Fri Jun 26 11:04:48 2020 +0100
     1.3 @@ -1,37 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="thttpd"
     1.8  VERSION="2.25b"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Throttleable lightweight httpd server"
    1.11 -MAINTAINER="erjo@slitaz.org"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="http://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  
    1.20 -DEPENDS=""
    1.21 +compile_rules() {
    1.22 +	./configure $CONFIGURE_ARGS &&
    1.23 +	make || return 1
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 -		$CONFIGURE_ARGS &&
    1.33 -	make
    1.34 +	install -Dm755 thttpd              $install/usr/sbin/thttpd
    1.35 +	install -Dm755 extras/htpasswd     $install/usr/sbin/htpasswd
    1.36 +	install -Dm755 extras/syslogtocern $install/usr/sbin/syslogcern
    1.37 +
    1.38 +	install -Dm644 $stuff/etc/init.d/thttpd      $install/etc/init.d/thttpd
    1.39 +	install -Dm644 $stuff/etc/thttpd/thttpd.conf $install/etc/thttpd/thttpd.conf
    1.40 +
    1.41 +	mkdir -p $install/var/log/thttpd
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 -	mkdir -p $fs/usr/sbin \
    1.48 -		$fs/var/log/thttpd \
    1.49 -		
    1.50 -	cp -a $src/thttpd $fs/usr/sbin
    1.51 -	cp -a $src/extras/htpasswd $fs/usr/sbin
    1.52 -	cp -a $src/extras/syslogtocern $fs/usr/sbin
    1.53 -	cp -a stuff/etc $fs/
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56  }
    1.57 -