wok-current annotate bozohttpd/receipt @ rev 25584

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