summaryrefslogtreecommitdiff
path: root/package/cherokee/Makefile
blob: 9ab94cb93f1d0b898e77264eec00a55cf70b0efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		cherokee
PKG_VERSION:=		1.2.101
PKG_RELEASE:=		1
PKG_MD5SUM:=		ef47003355a2e368e4d9596cd070ef23
PKG_DESCR:=		small and fast webserver
PKG_SECTION:=		www
PKG_URL:=		http://www.cherokee-project.com
PKG_SITES:=		http://www.cherokee-project.de/mirrors/cherokee/1.2/1.2.101/

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,CHEROKEE,cherokee,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--enable-static-module=all

cherokee-install:
	$(INSTALL_DIR) $(IDIR_CHEROKEE)/etc/cherokee
	$(INSTALL_DATA) ./files/cherokee.conf \
		$(IDIR_CHEROKEE)/etc/cherokee
	$(INSTALL_DIR) $(IDIR_CHEROKEE)/usr/lib/cherokee
	$(CP) $(WRKINST)/usr/lib/libcherokee*so* \
		$(IDIR_CHEROKEE)/usr/lib
	#$(CP) $(WRKINST)/usr/lib/cherokee/*.so \
	#	$(IDIR_CHEROKEE)/usr/lib/cherokee
	$(INSTALL_DIR) $(IDIR_CHEROKEE)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/usr/sbin/cherokee{,-worker} \
		$(IDIR_CHEROKEE)/usr/sbin
	$(INSTALL_DIR) $(IDIR_CHEROKEE)/usr/share/cherokee/themes/default
	$(CP) $(WRKINST)/usr/share/cherokee/themes/default/* \
		$(IDIR_CHEROKEE)/usr/share/cherokee/themes/default

include ${TOPDIR}/mk/pkg-bottom.mk