# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		haserl
PKG_VERSION:=		0.9.27
PKG_RELEASE:=		1
PKG_MD5SUM:=		1f692db8939858338a44e25d0190aa9e
PKG_DESCR:=		a CGI wrapper to embed shell scripts in HTML documents
PKG_SECTION:=		lang
PKG_URL:=		http://haserl.sourceforge.net/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=haserl/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,HASERL,haserl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_CPPFLAGS+=	-DMAX_UPLOAD_KB=8192

haserl-install:
	${INSTALL_DIR} ${IDIR_HASERL}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/haserl ${IDIR_HASERL}/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk