1
0

Makefile 847 B

12345678910111213141516171819202122232425262728293031
  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. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,SCSI_SPIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIG_STYLE:= manual
  14. BUILD_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. do-build:
  17. ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/scsi-spin \
  18. ${WRKBUILD}/scsi-spin.c
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_SCSI_SPIN}/usr/sbin
  21. ${INSTALL_BIN} ${WRKBUILD}/scsi-spin ${IDIR_SCSI_SPIN}/usr/sbin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk