2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.hiawatha-webserver.org/files/
16 PKG_MD5SUM:=45e7c3229a94d19abb5d92daa36c61d9
20 include $(INCLUDE_DIR)/package.mk
22 define Package/hiawatha
25 SUBMENU:=Web Servers/Proxies
26 TITLE:=A very lightweight web server
27 URL:=http://www.hiawatha-webserver.org/
28 MAINTAINER:=Raphaƫl HUCK <rhk@cksum.org>
32 define Package/hiawatha/description
33 Hiawatha is an open source webserver with a focus on security.
43 ac_cv_file__dev_urandom=yes \
46 define Package/hiawatha/conffiles
47 /etc/hiawatha/hiawatha.conf
48 /etc/hiawatha/mimetype.conf
51 define Package/hiawatha/install
52 $(INSTALL_DIR) $(1)/usr/sbin
53 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hiawatha $(1)/usr/sbin/
55 $(INSTALL_DIR) $(1)/etc/hiawatha
56 $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/hiawatha/{hiawatha,mimetype}.conf $(1)/etc/hiawatha/
59 $(eval $(call BuildPackage,hiawatha))