Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= www
  10. PKG_BUILDDEP:= libowfat libiconv-tiny
  11. PKG_URL:= http://www.fefe.de/gatling/
  12. PKG_SITES:= http://dl.fefe.de/
  13. DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,GATLING,gatling,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. MAKE_FILE:= GNUmakefile
  19. ALL_TARGET:= gatling
  20. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/owfat
  21. XAKE_FLAGS+= CC='${TARGET_CC}' \
  22. CFLAGS='${TARGET_CPPFLAGS} ${TARGET_CFLAGS}' \
  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