wok view bozohttpd/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents d31ff044ad9c
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="https://web.archive.org/web/20231024192649/http://www.eterna.com.au/bozohttpd/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://web.archive.org/web/20220310060548if_/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 - $WEB_SITE 2>/dev/null | \
24 sed '/d version /!d;s|.*sion ||;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 }