Makefile 919 B

123456789101112131415161718192021222324252627282930
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= dosfstools
  7. PKG_VERSION:= 3.0.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 94c2ea84b191de958f765ee239457bd9
  10. MASTER_SITES:= http://www.daniel-baumann.ch/software/dosfstools/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE}))
  13. BUILD_STYLE= auto
  14. INSTALL_STYLE= auto
  15. XAKE_FLAGS+= PREFIX="" \
  16. OPTFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64"
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin
  19. ${CP} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/sbin/
  20. ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  21. ${CP} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
  22. ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk