Makefile 794 B

1234567891011121314151617181920212223242526272829
  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:= scsi-spin
  7. PKG_VERSION:= 1.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= d0c32bfc500e94cc1905d9457a99cdbb
  10. PKG_DESCR:= Utility to spin down scsi disks
  11. PKG_SECTION:= misc
  12. NO_DISTFILES:= 1
  13. WRKDIST= ${WRKDIR}/scsi-spin
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SCSI_SPIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. do-build:
  17. ${TARGET_CC} ${TARGET_CFLAGS} -o ${WRKBUILD}/scsi-spin files/scsi-spin.c
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_SCSI_SPIN}/usr/sbin
  20. ${INSTALL_BIN} ${WRKBUILD}/scsi-spin ${IDIR_SCSI_SPIN}/usr/sbin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk