Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= dosfstools
  5. PKG_VERSION:= 4.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
  8. PKG_DESCR:= utilities to create and check fat filesystems
  9. PKG_SECTION:= sys/fs
  10. PKG_NEEDS:= iconv
  11. PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
  12. PKG_SITES:= https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/
  13. PKG_CFLINE_DOSFSTOOLS:= select BUSYBOX_FSCK
  14. include ${ADK_TOPDIR}/mk/host.mk
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call HOST_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE}))
  17. $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. HOST_CONFIGURE_ARGS+= --enable-compat-symlinks
  19. dosfstools-install:
  20. ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/usr/sbin
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/fsck.fat ${IDIR_DOSFSTOOLS}/usr/sbin
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mkfs.fat ${IDIR_DOSFSTOOLS}/usr/sbin
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk