Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= gatling
  5. PKG_VERSION:= 0.11
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 9e1cb18612905b63755b0f463e6c5268789b3ab47db364bebe1ad077583e7571
  8. PKG_DESCR:= small non-forking webserver
  9. PKG_SECTION:= net/http
  10. PKG_BUILDDEP:= libowfat
  11. PKG_URL:= http://www.fefe.de/gatling/
  12. PKG_SITES:= http://dl.fefe.de/
  13. PKG_BUILDDEP_UCLIBC:= libiconv-tiny
  14. PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,GATLING,gatling,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. MAKE_FILE:= GNUmakefile
  21. ALL_TARGET:= gatling
  22. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/owfat
  23. XAKE_FLAGS+= CC='${TARGET_CC}' \
  24. CFLAGS='${TARGET_CPPFLAGS} ${TARGET_CFLAGS}' \
  25. ZLIB=0 DIET= prefix='${WRKINST}/usr'
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_GATLING}/usr/sbin
  28. ${INSTALL_BIN} ${WRKBUILD}/gatling ${IDIR_GATLING}/usr/sbin/
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk