imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / mongrel2 / Makefile
blob9ae849160308826df9f3102bd71f3740b8104601
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= mongrel2
7 PKG_VERSION:= 1.13.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= b6f1f50c9f65b605342d8792b1cc8a1c151105339030313b9825b6a68d400c10
10 PKG_DESCR:= application, language, and network architecture agnostic web server
11 PKG_SECTION:= net/http
12 PKG_BUILDDEP:= zeromq sqlite-host sqlite mbedtls
13 PKG_DEPENDS:= zeromq libsqlite mbedtls
14 PKG_NEEDS:= threads c++
15 PKG_URL:= http://mongrel2.org
16 PKG_SITES:= https://github.com/mongrel2/mongrel2/releases/download/v$(PKG_VERSION)/
18 DISTFILES:= $(PKG_NAME)-v$(PKG_VERSION).tar.bz2
19 WRKDIST= ${WRKDIR}/$(PKG_NAME)-v$(PKG_VERSION)
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,MONGREL2,mongrel2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
25 CONFIG_STYLE:= manual
27 mongrel2-install:
28 $(INSTALL_DIR) $(IDIR_MONGREL2)/etc/mongrel2
29 $(CP) $(WRKBUILD)/examples/configs/sample.conf \
30 $(IDIR_MONGREL2)/etc/mongrel2/site.conf
31 $(INSTALL_DIR) $(IDIR_MONGREL2)/usr/bin
32 $(INSTALL_BIN) $(WRKINST)/usr/bin/m2sh \
33 $(IDIR_MONGREL2)/usr/bin
34 $(INSTALL_BIN) $(WRKINST)/usr/bin/mongrel2 \
35 $(IDIR_MONGREL2)/usr/bin
37 include $(ADK_TOPDIR)/mk/pkg-bottom.mk