Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. BUILD_STYLE:= auto
  18. MAKE_FILE:= GNUmakefile
  19. ALL_TARGET:= gatling
  20. TCPPFLAGS+= -I${STAGING_DIR}/usr/include/owfat
  21. XAKE_FLAGS+= CC='${TARGET_CC}' \
  22. CFLAGS='${TCPPFLAGS} ${TCFLAGS}' \
  23. ZLIB=0 DIET= prefix='${WRKINST}/usr'
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_GATLING}/usr/sbin
  26. ${INSTALL_BIN} ${WRKBUILD}/gatling ${IDIR_GATLING}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk