2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
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 http://firmware.freifunk-halle.net/ffluci/package-source/
16 PKG_MD5SUM:=b004005594b84e35839b1d5c330f8e03
19 include $(INCLUDE_DIR)/package.mk
21 define Package/haserl-lua
24 TITLE:=A CGI wrapper to embed shell scripts in HTML documents
25 URL:=http://haserl.sourceforge.net/
32 define Package/haserl-lua/install
33 $(INSTALL_DIR) $(1)/usr/bin
34 $(STRIP) $(PKG_BUILD_DIR)/src/haserl
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/
36 echo "Replaces: haserl" >> $(1)/CONTROL/control
37 echo "Conflicts: haserl" >> $(1)/CONTROL/control
40 $(eval $(call BuildPackage,haserl-lua))