Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= dosfstools
  7. PKG_VERSION:= 3.0.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 94c2ea84b191de958f765ee239457bd9
  10. PKG_DESCR:= Utilities to create and check MS-DOS FAT filesystems
  11. PKG_SECTION:= admin
  12. PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools
  13. PKG_SITES:= http://www.daniel-baumann.ch/software/dosfstools/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. BUILD_STYLE= auto
  17. INSTALL_STYLE= auto
  18. XAKE_FLAGS+= PREFIX="" \
  19. OPTFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64"
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin
  22. ${CP} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/sbin/
  23. ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  24. ${CP} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
  25. ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk