250cc650a443bf86b51a8789e4392ef815d0603a
[project/luci.git] / contrib / package / haserl-lua / 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 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=haserl-lua
10 PKG_VERSION:=0.9.23
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=http://dev.leipzig.freifunk.net/svn/ff-luci/trunk/contrib/package-source/
15 PKG_MD5SUM:=f3a0f329904791c5662d93638f92bdfd
16
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/haserl-lua
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=A CGI wrapper to embed shell scripts in HTML documents
24 URL:=http://haserl.sourceforge.net/
25 DEPENDS:=+liblua-luci
26 endef
27
28 CONFIGURE_ARGS += \
29 --with-lua
30
31 define Package/haserl-lua/install
32 $(INSTALL_DIR) $(1)/usr/bin
33 $(STRIP) $(PKG_BUILD_DIR)/src/haserl
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/
35 echo "Replaces: haserl" >> $(1)/CONTROL/control
36 echo "Conflicts: haserl" >> $(1)/CONTROL/control
37 endef
38
39 $(eval $(call BuildPackage,haserl-lua))