# SliTaz package receipt.

PACKAGE="bozohttpd"
VERSION="20111118"
CATEGORY="network"
SHORT_DESC="Small and secure http version 1.1 server"
MAINTAINER="milka@konstelacioj.info"
DEPENDS="openssl"
BUILD_DEPENDS="openssl-dev"
SUGGESTED="haserl"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.eterna.com.au/$PACKAGE/"
WGET_URL="http://www.eterna.com.au/$PACKAGE/$TARBALL"
TAGS="http server lightweight cgi ipv6 ssl"
PROVIDE="lighttpd"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make -f Makefile.boot all
	mkdir -p $PWD/_pkg/usr/bin
	mv bozohttpd $PWD/_pkg/usr/bin/
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
}