Makefile 842 B

12345678910111213141516171819202122232425262728
  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:= wol
  5. PKG_VERSION:= 0.7.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c2fa9d7e771134ac8c89d56b8197d4ca
  8. PKG_DESCR:= program to send magic Wake-on-LAN packets
  9. PKG_SECTION:= net
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ahh/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,WOL,wol,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_ARGS+= ac_cv_func_mmap_fixed_mapped=yes \
  15. jm_cv_func_working_malloc=yes \
  16. ac_cv_func_alloca_works=yes
  17. wol-install:
  18. ${INSTALL_DIR} ${IDIR_WOL}/usr/bin
  19. ${INSTALL_BIN} ${WRKINST}/usr/bin/wol ${IDIR_WOL}/usr/bin/
  20. include ${TOPDIR}/mk/pkg-bottom.mk