wok-next diff bozohttpd/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a511baf85854
children aa1e58c82d61
line diff
     1.1 --- a/bozohttpd/receipt	Wed Jul 06 10:09:09 2016 +0300
     1.2 +++ b/bozohttpd/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,32 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="bozohttpd"
     1.8  VERSION="20111118"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Small and secure http version 1.1 server"
    1.11 -MAINTAINER="milka@konstelacioj.info"
    1.12 +SHORT_DESC="Small and secure HTTP/1.1 server"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 -WEB_SITE="http://www.eterna.com.au/$PACKAGE/"
    1.16 +WEB_SITE="http://www.eterna.com.au/bozohttpd/"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WGET_URL="http://www.eterna.com.au/$PACKAGE/$TARBALL"
    1.20 -TAGS="http server lightweight CGI ipv6 ssl"
    1.21 -PROVIDE="lighttpd"
    1.22  
    1.23 -DEPENDS="openssl"
    1.24  BUILD_DEPENDS="openssl-dev"
    1.25 -SUGGESTED="haserl"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	make -f Makefile.boot all
    1.31 +compile_rules() {
    1.32 +	make -f Makefile.boot all || return 1
    1.33  
    1.34 +	install -Dm755 bozohttpd $install/usr/bin/bozohttpd
    1.35  	cook_pick_manpages bozohttpd.8
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/bin
    1.42 -	cp -a $src/bozohttpd $fs/usr/bin
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="openssl"
    1.46 +	PROVIDE="lighttpd"
    1.47 +	SUGGESTED="haserl"
    1.48 +	TAGS="http server lightweight CGI ipv6 ssl"
    1.49  }