Makefile 1.0 KB

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