Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= 3.0.26
  6. PKG_RELEASE:= 5
  7. PKG_HASH:= 468442fe8cd93961047d5cd67f7b67793126575103a67cd131330512b4893e75
  8. PKG_DESCR:= utilities to create and check fat filesystems
  9. PKG_SECTION:= sys/fs
  10. PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
  11. PKG_SITES:= http://daniel-baumann.ch/files/software/dosfstools/
  12. PKG_BUILDDEP_UCLIBC:= libiconv-tiny
  13. PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
  14. include ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
  17. XAKE_FLAGS+= LDLIBS=-liconv
  18. endif
  19. CONFIG_STYLE:= manual
  20. XAKE_FLAGS+= PREFIX=""
  21. dosfstools-install:
  22. ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/usr/sbin
  24. ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat,fat} ${IDIR_DOSFSTOOLS}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/usr/sbin
  26. ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat,fat} ${IDIR_DOSFSTOOLS}/usr/sbin
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk