* new project: ff-luci - Freifunk Lua Configuration Interface
[project/luci.git] / contrib / package / haserl-devel / Makefile
1
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=haserl
12 PKG_VERSION:=0.9.22
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/haserl
17 PKG_MD5SUM:=b791150f2e5704d03b1fb698f4edc6c0
18
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/haserl
23   SECTION:=utils
24   CATEGORY:=Utilities
25   TITLE:=A CGI wrapper to embed shell scripts in HTML documents
26   URL:=http://haserl.sourceforge.net/
27   DEPENDS:=+liblua
28 endef
29
30 CONFIGURE_ARGS += \
31         --with-lua
32
33 define Package/haserl/install
34         $(INSTALL_DIR) $(1)/usr/bin
35         $(STRIP) $(PKG_BUILD_DIR)/src/haserl
36         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/
37 endef
38
39 $(eval $(call BuildPackage,haserl))