Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= tntnet
  5. PKG_VERSION:= 1.6.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e2c3c5075a890711a7569730493c0996
  8. PKG_DESCR:= small C++ application server
  9. PKG_SECTION:= www
  10. PKG_DEPENDS:= cxxtools zlib libiconv libpthread
  11. PKG_BUILDDEP:= cxxtools zlib libiconv
  12. PKG_URL:= http://www.tntnet.org/
  13. PKG_SITES:= http://www.tntnet.org/download/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,TNTNET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --without-epoll \
  17. --without-sdk \
  18. --without-cgi \
  19. --without-sendfile \
  20. --without-ssl
  21. CONFIGURE_ENV+= CXXFLAGS='${TCXXFLAGS}' \
  22. ac_cv_path_cxxtools_config=${STAGING_DIR}/usr/bin
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_TNTNET}/www
  25. ${INSTALL_DIR} ${IDIR_TNTNET}/etc/tntnet
  26. ${INSTALL_DIR} ${IDIR_TNTNET}/usr/bin
  27. ${INSTALL_DIR} ${IDIR_TNTNET}/usr/lib/tntnet
  28. ${INSTALL_DATA} ./files/tntnet.{conf,properties} \
  29. ${IDIR_TNTNET}/etc/tntnet
  30. ${INSTALL_DATA} ./files/mime.conf \
  31. ${IDIR_TNTNET}/etc/tntnet
  32. ${CP} ${WRKINST}/usr/bin/tntnet ${IDIR_TNTNET}/usr/bin
  33. ${CP} ${WRKINST}/usr/lib/tntnet/tntnet.so* \
  34. ${IDIR_TNTNET}/usr/lib/tntnet
  35. ${CP} ${WRKINST}/usr/lib/libtntnet.so.* \
  36. ${IDIR_TNTNET}/usr/lib
  37. include ${TOPDIR}/mk/pkg-bottom.mk