Makefile 824 B

1234567891011121314151617181920212223242526
  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:= mdadm
  5. PKG_VERSION:= 3.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= abb19b309281b93cf79d29fb2dfb2e85
  8. PKG_DESCR:= tool for managing software RAID arrays
  9. PKG_SECTION:= sys/fs
  10. PKG_URL:= http://neil.brown.name/blog/mdadm
  11. PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/raid/mdadm/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,MDADM,mdadm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. XAKE_FLAGS+= CROSS_COMPILE="${TARGET_CROSS}" CHECK_RUN_DIR=0
  16. mdadm-install:
  17. ${INSTALL_DIR} ${IDIR_MDADM}/usr/sbin
  18. ${INSTALL_BIN} ${WRKINST}/sbin/mdadm ${IDIR_MDADM}/usr/sbin
  19. include ${TOPDIR}/mk/pkg-bottom.mk