Makefile 869 B

1234567891011121314151617181920212223242526272829
  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:= A Program to send magic Wake-on-LAN packets
  9. PKG_SECTION:= net
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ahh/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,WOL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_WOL}/usr/bin
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/wol ${IDIR_WOL}/usr/bin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk