X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=utils%2Fhaserl%2FMakefile;h=607db28aebe8143f6d3d6c23c19ad856c70f6104;hb=3cfbab7ce552ffa4ffc90668419b5194bb70e7e1;hp=0085fc324fd5b87df21bba383544be60aa19ce1f;hpb=72e83f0df6bc42a5ea914638f7f8f6cefe7b7ea9;p=packages.git diff --git a/utils/haserl/Makefile b/utils/haserl/Makefile index 0085fc324..607db28ae 100644 --- a/utils/haserl/Makefile +++ b/utils/haserl/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=haserl -PKG_VERSION:=0.9.26 +PKG_VERSION:=0.9.32 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/haserl -PKG_MD5SUM:=8cd64e591209751a062ad4e08f1d10dd +PKG_MD5SUM:=18e2208aea6d772d1670c1a648bb6b77 include $(INCLUDE_DIR)/package.mk @@ -22,8 +22,25 @@ define Package/haserl CATEGORY:=Utilities TITLE:=A CGI wrapper to embed shell scripts in HTML documents URL:=http://haserl.sourceforge.net/ + MENU:=1 + DEPENDS:= +HASERL_with_lua:liblua +endef + +define Package/haserl/config + source "$(SOURCE)/Config.in" endef +ifeq ($(CONFIG_HASERL_with_lua),y) + CONFIGURE_ARGS+=--with-lua + TARGET_LDFLAGS += -ldl +endif +ifneq ($(CONFIG_HASERL_shell_lua),y) + CONFIGURE_ARGS+=--disable-luashell +endif +ifneq ($(CONFIG_HASERL_shell_luac),y) + CONFIGURE_ARGS+=--disable-luacshell +endif + define Package/haserl/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/