Makefile 718 B

12345678910111213141516171819202122232425
  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:= ether-wake
  5. PKG_VERSION:= 1.09
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= A Wake-On-LAN (WOL) client
  8. PKG_SECTION:= net
  9. NO_DISTFILES:= 1
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,ETHER_WAKE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  12. do-build:
  13. ${TARGET_CC} ${TARGET_CFLAGS} -o ${WRKBUILD}/${PKG_NAME} ${WRKBUILD}/${PKG_NAME}.c
  14. do-install:
  15. ${INSTALL_DIR} ${IDIR_ETHER_WAKE}/usr/sbin
  16. ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_ETHER_WAKE}/usr/sbin/
  17. include ${TOPDIR}/mk/pkg-bottom.mk