source: packages/net/hiawatha/Makefile @ 26061

Last change on this file since 26061 was 26061, checked in by cshore, 6 years ago

[net] Web Servers/Proxies: Move all web servers, proxies, and related programs into the combined Web Servers/Proxies category. One-stop shopping.

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=hiawatha
11PKG_VERSION:=7.3
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.hiawatha-webserver.org/files/
16PKG_MD5SUM:=52fd6bf798c07298e12ff69b882f3d76
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/hiawatha
23  CATEGORY:=Network
24  SECTION:=net
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>
29  DEPENDS:=+libpthread
30endef
31
32define Package/hiawatha/description
33Hiawatha is an open source webserver with a focus on security.
34endef
35
36CONFIGURE_ARGS+= \
37        --disable-cache \
38        --disable-monitor \
39        --disable-ssl \
40        --disable-xslt
41
42CONFIGURE_VARS+= \
43        ac_cv_file__dev_urandom=yes \
44        webrootdir=/www
45
46define Package/hiawatha/conffiles
47/etc/hiawatha/hiawatha.conf
48/etc/hiawatha/mimetype.conf
49endef
50
51define Package/hiawatha/install
52        $(INSTALL_DIR) $(1)/usr/sbin
53        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hiawatha $(1)/usr/sbin/
54
55        $(INSTALL_DIR) $(1)/etc/hiawatha
56        $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/hiawatha/{hiawatha,mimetype}.conf $(1)/etc/hiawatha/
57endef
58
59$(eval $(call BuildPackage,hiawatha))
Note: See TracBrowser for help on using the repository browser.