Changeset 40702


Ignore:
Timestamp:
2014-05-05T21:31:06+02:00 (4 years ago)
Author:
florian
Message:

haserl: uptate to 0.9.32, add optional lua support

This patch updates haserl to version 0.9.32 and introduces optional lua support
See http://haserl.sourceforge.net/manpage.html#lbAM

Note: to implement lua support I had to change build process slightly to
get rid of host precompilation of lua script. I decided to patch existing
Makefile.in instead of patching Makefile.am and regenerating everything
from scratch. If this approach is wrong and it's better to patch Makefile.am,
please let me know.

Signed-off-by: Maxim Storchak <m.storchak@…>
[florian: fix missing quote after source]
Signed-off-by: Florian Fainelli <florian@…>

Location:
packages/utils/haserl
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/haserl/Makefile

    r40081 r40702  
    99 
    1010PKG_NAME:=haserl 
    11 PKG_VERSION:=0.9.29 
     11PKG_VERSION:=0.9.32 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=@SF/haserl 
    16 PKG_MD5SUM:=4cac9409530200b4a7a82a48ec174800 
     16PKG_MD5SUM:=18e2208aea6d772d1670c1a648bb6b77 
    1717 
    1818include $(INCLUDE_DIR)/package.mk 
     
    2323  TITLE:=A CGI wrapper to embed shell scripts in HTML documents 
    2424  URL:=http://haserl.sourceforge.net/ 
     25  MENU:=1 
     26  DEPENDS:= +HASERL_with_lua:liblua 
    2527endef 
     28 
     29define Package/haserl/config 
     30        source "$(SOURCE)/Config.in" 
     31endef 
     32 
     33ifeq ($(CONFIG_HASERL_with_lua),y) 
     34        CONFIGURE_ARGS+=--with-lua 
     35        TARGET_LDFLAGS += -ldl 
     36endif 
     37ifneq ($(CONFIG_HASERL_shell_lua),y) 
     38        CONFIGURE_ARGS+=--disable-luashell 
     39endif 
     40ifneq ($(CONFIG_HASERL_shell_luac),y) 
     41        CONFIGURE_ARGS+=--disable-luacshell 
     42endif 
    2643 
    2744define Package/haserl/install 
Note: See TracChangeset for help on using the changeset viewer.