Makefile 868 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= mdadm
  5. PKG_VERSION:= 3.3.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
  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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk