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:=7195c829c86f1ed37d314daa4e06d06b
18 PKG_CONFIG_DEPENDS:= \
23 include $(INCLUDE_DIR)/package.mk
25 define Package/hiawatha
28 SUBMENU:=Web Servers/Proxies
29 TITLE:=A very lightweight web server
30 URL:=http://www.hiawatha-webserver.org/
31 MAINTAINER:=Raphaƫl HUCK <rhk@cksum.org>
35 define Package/hiawatha/description
36 Hiawatha is an open source webserver with a focus on security.
40 $(call autoconf_bool,CONFIG_IPV6,ipv6) \
47 ac_cv_file__dev_urandom=yes \
50 define Package/hiawatha/conffiles
51 /etc/hiawatha/hiawatha.conf
52 /etc/hiawatha/mimetype.conf
55 define Package/hiawatha/install
56 $(INSTALL_DIR) $(1)/usr/sbin
57 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hiawatha $(1)/usr/sbin/
59 $(INSTALL_DIR) $(1)/etc/hiawatha
60 $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/hiawatha/{hiawatha,mimetype}.conf $(1)/etc/hiawatha/
63 $(eval $(call BuildPackage,hiawatha))