Makefile 802 B

123456789101112131415161718192021222324252627282930
  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. CONFIG_STYLE:= manual
  13. BUILD_STYLE:= manual
  14. INSTALL_STYLE:= manual
  15. do-build:
  16. ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o \
  17. ${WRKBUILD}/ether-wake ${WRKBUILD}/ether-wake.c
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_ETHER_WAKE}/usr/sbin
  20. ${INSTALL_BIN} ${WRKBUILD}/ether-wake ${IDIR_ETHER_WAKE}/usr/sbin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk