2 # Copyright (C) 2006-2010 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
:=876111ba94b183745b90ca27d4f2b0ed
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/hiawatha
24 TITLE
:=A very lightweight web server
25 URL
:=http
://www.hiawatha-webserver.org
/
29 define Package
/hiawatha
/description
30 Hiawatha is a webserver for Unix.
40 ac_cv_file__dev_urandom
=yes \
43 define Package
/hiawatha
/conffiles
44 /etc
/hiawatha
/hiawatha.conf
45 /etc
/hiawatha
/mimetype.conf
48 define Package
/hiawatha
/install
49 $(INSTALL_DIR
) $(1)/usr
/sbin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/hiawatha
$(1)/usr
/sbin
/
51 $(INSTALL_DIR
) $(1)/etc
/hiawatha
52 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/etc
/hiawatha
/{hiawatha
,mimetype
}.conf
$(1)/etc
/hiawatha
/
55 $(eval
$(call BuildPackage
,hiawatha
))