Makefile 625 B

123456789101112131415161718192021222324
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= ether-wake
  7. PKG_VERSION:= 1.09
  8. PKG_RELEASE:= 1
  9. NO_DISTFILES:= 1
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,ETHER_WAKE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
  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