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
9 PKG_HASH
:= 7ec379bf7e9d6fdf952d91fadc43eb6ee5295119aea7d8dabbf89f2799a53ae6
10 PKG_DESCR
:= small and fast webserver
11 PKG_SECTION
:= net
/http
12 PKG_URL
:= http
://www.cherokee-project.com
13 PKG_SITES
:= https
://github.com
/cherokee
/webserver
/archive
/
15 PKG_CFLINE_CHEROKEE
:= depends on ADK_BROKEN
17 DISTFILES
:= v
${PKG_VERSION}.zip
18 WRKDIST
= ${WRKDIR}/webserver-
${PKG_VERSION}
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,CHEROKEE
,cherokee
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 AUTOTOOL_STYLE
:= autogen
25 CONFIGURE_ENV
+= ac_cv_func_malloc_0_nonnull
=yes \
26 ac_cv_func_realloc_0_nonnull
=yes
27 CONFIGURE_ARGS
+= --enable-static-module
=all \
34 $(INSTALL_DIR
) $(IDIR_CHEROKEE
)/etc
/cherokee
35 $(INSTALL_DATA
) .
/files
/cherokee.conf \
36 $(IDIR_CHEROKEE
)/etc
/cherokee
37 $(INSTALL_DIR
) $(IDIR_CHEROKEE
)/usr
/lib
/cherokee
38 $(CP
) $(WRKINST
)/usr
/lib
/libcherokee
*so
* \
39 $(IDIR_CHEROKEE
)/usr
/lib
40 $(INSTALL_DIR
) $(IDIR_CHEROKEE
)/usr
/sbin
41 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/cherokee
{,-worker
} \
42 $(IDIR_CHEROKEE
)/usr
/sbin
43 $(INSTALL_DIR
) $(IDIR_CHEROKEE
)/usr
/share
/cherokee
/themes
/default
44 $(CP
) $(WRKINST
)/usr
/share
/cherokee
/themes
/default
/* \
45 $(IDIR_CHEROKEE
)/usr
/share
/cherokee
/themes
/default
47 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk