Makefile 818 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:= mdadm
  5. PKG_VERSION:= 3.2.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3f5750c5b1b175f71199e93cd4e5aa2b
  8. PKG_DESCR:= tool for managing Linux Software RAID arrays
  9. PKG_SECTION:= 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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. XAKE_FLAGS+= CROSS_COMPILE="${TARGET_CROSS}"
  16. post-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