1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031
  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:= 1
  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="" \
  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