996067d6b3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=hiawatha
|
|
PKG_VERSION:=6.12
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://www.hiawatha-webserver.org/files/
|
|
PKG_MD5SUM:=cf03ec29484297af9d0d313fad23e061
|
|
|
|
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 \
|
|
--disable-ssl \
|
|
--disable-ipv6
|
|
|
|
CONFIGURE_VARS+= \
|
|
ac_cv_file__dev_urandom=yes
|
|
|
|
define Package/hiawatha/conffiles
|
|
/etc/hiawatha/httpd.conf
|
|
/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
|
|
$(INSTALL_DATA) ./files/httpd.conf $(1)/etc/hiawatha/
|
|
$(INSTALL_DATA) ./files/mimetype.conf $(1)/etc/hiawatha/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,hiawatha))
|