1
0

Makefile 784 B

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