1
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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:= axtls
  5. PKG_VERSION:= 1.2.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 03471b5a5874e2ce86025f24b3fa0958
  8. PKG_DESCR:= small embedded webserver
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libaxtls
  11. PKG_URL:= http://axtls.sourceforge.net
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=axtls/}
  13. PKG_DESCR_LIB:= small tls library
  14. PKG_SECTION_LIB:= libs
  15. DISTFILES:= axTLS-${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/axTLS
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,AXHTTPD,axhttpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBAXTLS,libaxtls,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR_LIB},${PKG_SECTION_LIB}))
  20. CONFIG_STYLE:= manual
  21. INSTALL_STYLE:= manual
  22. XAKE_FLAGS+= STRIP='' \
  23. CC='${TARGET_CC}' \
  24. OPT_CFLAGS='${TARGET_CFLAGS} -fPIC' \
  25. OPT_LDFLAGS=""
  26. do-configure:
  27. ${CP} ./files/config ${WRKBUILD}/config/.config
  28. ${MAKE} -C ${WRKBUILD} oldconfig
  29. do-install:
  30. # axtls library
  31. ${INSTALL_DIR} ${IDIR_LIBAXTLS}/usr/lib
  32. $(CP) $(WRKBUILD)/_stage/libaxtls.so* $(IDIR_LIBAXTLS)/usr/lib/
  33. # awhttpd server
  34. ${INSTALL_DIR} ${IDIR_AXHTTPD}/www
  35. ${INSTALL_DIR} ${IDIR_AXHTTPD}/usr/sbin
  36. ${INSTALL_BIN} $(WRKBUILD)/_stage/axhttpd $(IDIR_AXHTTPD)/usr/sbin/
  37. include ${TOPDIR}/mk/pkg-bottom.mk