wok-6.x view bozohttpd/receipt @ rev 25509

sgmixer: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 13:14:45 2023 +0000 (20 months ago)
parents 9af0e03b8ad0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="bozohttpd"
4 VERSION="20210227"
5 CATEGORY="network"
6 TAGS="http server lightweight CGI ipv6 ssl"
7 SHORT_DESC="Small and secure http version 1.1 server."
8 MAINTAINER="milka@konstelacioj.info"
9 LICENSE="BSD"
10 WEB_SITE="http://www.eterna.com.au/$PACKAGE/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.eterna.com.au/$PACKAGE/$TARBALL"
15 PROVIDE="lighttpd"
16 SUGGESTED="haserl"
17 DEPENDS="openssl"
18 BUILD_DEPENDS="openssl-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - http://www.eterna.com.au/bozohttpd/CHANGES 2>/dev/null | \
24 sed '/changes in/!d;s|.*bozohttpd ||;s|:||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LDFLAGS="$LDFLAGS -lrt" # to resolve clock_...
32 make -f Makefile.boot all &&
33 cook_pick_manpages bozohttpd.8
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $src/bozohttpd $fs/usr/bin
41 }