2009-02-01 14:50:30 +00:00
|
|
|
#
|
2010-02-15 10:36:50 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2009-02-01 14:50:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=hiawatha
|
2010-02-15 10:36:50 +00:00
|
|
|
PKG_VERSION:=7.0
|
2009-11-26 23:39:24 +00:00
|
|
|
PKG_RELEASE:=1
|
2009-02-01 14:50:30 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.hiawatha-webserver.org/files/
|
2010-02-16 14:33:48 +00:00
|
|
|
PKG_MD5SUM:=876111ba94b183745b90ca27d4f2b0ed
|
2009-02-01 14:50:30 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/hiawatha
|
|
|
|
CATEGORY:=Network
|
|
|
|
SECTION:=net
|
|
|
|
SUBMENU:=Web
|
|
|
|
TITLE:=A very lightweight web server
|
|
|
|
URL:=http://www.hiawatha-webserver.org/
|
|
|
|
DEPENDS:=+libpthread
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hiawatha/description
|
|
|
|
Hiawatha is a webserver for Unix.
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--disable-cache \
|
2010-02-15 10:36:50 +00:00
|
|
|
--disable-monitor \
|
|
|
|
--disable-ssl \
|
|
|
|
--disable-xslt
|
2009-02-01 14:50:30 +00:00
|
|
|
|
|
|
|
CONFIGURE_VARS+= \
|
2009-11-26 23:39:24 +00:00
|
|
|
ac_cv_file__dev_urandom=yes \
|
|
|
|
webrootdir=/www
|
2009-02-01 14:50:30 +00:00
|
|
|
|
|
|
|
define Package/hiawatha/conffiles
|
2009-11-26 23:39:24 +00:00
|
|
|
/etc/hiawatha/hiawatha.conf
|
2009-02-01 14:50:30 +00:00
|
|
|
/etc/hiawatha/mimetype.conf
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hiawatha/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/hiawatha $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/hiawatha
|
2009-11-26 23:39:24 +00:00
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/etc/hiawatha/{hiawatha,mimetype}.conf $(1)/etc/hiawatha/
|
2009-02-01 14:50:30 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,hiawatha))
|