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.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 94c2ea84b191de958f765ee239457bd9
  8. PKG_DESCR:= Utilities to create and check MS-DOS FAT filesystems
  9. PKG_SECTION:= admin
  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,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. BUILD_STYLE= auto
  15. INSTALL_STYLE= auto
  16. XAKE_FLAGS+= PREFIX="" \
  17. OPTFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64"
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin
  20. ${CP} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/sbin/
  21. ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  22. ${CP} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
  23. ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk