Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= cherokee
  5. PKG_VERSION:= 1.2.101
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= ca465ab3772479fc843b38ffc45113bf24d8bfae9185cdd5176b099d5a17feb8
  8. PKG_DESCR:= small and fast webserver
  9. PKG_SECTION:= net/http
  10. PKG_URL:= http://www.cherokee-project.com
  11. PKG_SITES:= http://www.cherokee-project.de/mirrors/cherokee/1.2/${PKG_VERSION}/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,CHEROKEE,cherokee,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --enable-static-module=all \
  16. --without-mysql \
  17. --without-ldap \
  18. --disable-pam \
  19. --without-ffmpeg
  20. cherokee-install:
  21. $(INSTALL_DIR) $(IDIR_CHEROKEE)/etc/cherokee
  22. $(INSTALL_DATA) ./files/cherokee.conf \
  23. $(IDIR_CHEROKEE)/etc/cherokee
  24. $(INSTALL_DIR) $(IDIR_CHEROKEE)/usr/lib/cherokee
  25. $(CP) $(WRKINST)/usr/lib/libcherokee*so* \
  26. $(IDIR_CHEROKEE)/usr/lib
  27. $(INSTALL_DIR) $(IDIR_CHEROKEE)/usr/sbin
  28. $(INSTALL_BIN) $(WRKINST)/usr/sbin/cherokee{,-worker} \
  29. $(IDIR_CHEROKEE)/usr/sbin
  30. $(INSTALL_DIR) $(IDIR_CHEROKEE)/usr/share/cherokee/themes/default
  31. $(CP) $(WRKINST)/usr/share/cherokee/themes/default/* \
  32. $(IDIR_CHEROKEE)/usr/share/cherokee/themes/default
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk