Makefile 1.0 KB

1234567891011121314151617181920212223242526272829
  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:= dosfstools
  5. PKG_VERSION:= 3.0.9
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= bd273cf8aa6341c0b52cbac72050bcf4
  8. PKG_DESCR:= Utilities to create and check MS-DOS FAT filesystems
  9. PKG_SECTION:= fs
  10. PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
  11. PKG_SITES:= http://www.daniel-baumann.ch/software/dosfstools/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,DOSFSTOOLS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. XAKE_FLAGS+= PREFIX="" OPTFLAGS="-D_FILE_OFFSET_BITS=64"
  16. post-install:
  17. ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin
  18. ${CP} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/sbin/
  19. ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  20. ${CP} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
  21. ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk