# SliTaz package receipt.

PACKAGE="haserl"
VERSION="0.9.27"
CATEGORY="network"
SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts"
MAINTAINER="milka@konstelacioj.info"
DEPENDS=""
BUILD_DEPENDS="glibc-dev"
SUGGESTED="bash lua lua-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://haserl.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--bindir=/usr/bin \
    	$CONFIGURE_ARGS
	make
	make DESTDIR=$PWD/_pkg install
}

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