You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=mtools
  3. PKG_VERSION:=4.0.35
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  6. PKG_SOURCE_URL:=@GNU/mtools
  7. PKG_HASH:=34769e173751d2f0d891a08c76c80427e929b8ee43438019b8666cc3d7a44749
  8. PKG_BUILD_PARALLEL:=1
  9. PKG_INSTALL:=1
  10. PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
  11. PKG_LICENSE:=GPL-3.0-only
  12. PKG_LICENSE_FILES:=COPYING
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/mtools
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. SUBMENU:=Disc
  18. TITLE:=Collection of utilities to access MS-DOS disks
  19. URL:=https://www.gnu.org/software/mtools
  20. DEPENDS:=+libbsd
  21. endef
  22. define Package/mtools/description
  23. Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.
  24. endef
  25. CONFIGURE_VARS += ac_cv_have_x="have_x=no"
  26. define Package/mtools/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amuFormat.sh $(1)/usr/bin/
  29. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcheck $(1)/usr/bin/
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcomp $(1)/usr/bin/
  31. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mkmanifest $(1)/usr/bin/
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mtools $(1)/usr/bin/
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mxtar $(1)/usr/bin/
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tgz $(1)/usr/bin/
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uz $(1)/usr/bin/
  36. $(LN) uz $(1)/usr/bin/lz
  37. $(LN) mtools $(1)/usr/bin/mattrib
  38. $(LN) mtools $(1)/usr/bin/mbadblock
  39. $(LN) mtools $(1)/usr/bin/mcat
  40. $(LN) mtools $(1)/usr/bin/mcd
  41. $(LN) mtools $(1)/usr/bin/mclasserase
  42. $(LN) mtools $(1)/usr/bin/mcopy
  43. $(LN) mtools $(1)/usr/bin/mdel
  44. $(LN) mtools $(1)/usr/bin/mdeltree
  45. $(LN) mtools $(1)/usr/bin/mdir
  46. $(LN) mtools $(1)/usr/bin/mdu
  47. $(LN) mtools $(1)/usr/bin/mformat
  48. $(LN) mtools $(1)/usr/bin/minfo
  49. $(LN) mtools $(1)/usr/bin/mlabel
  50. $(LN) mtools $(1)/usr/bin/mmd
  51. $(LN) mtools $(1)/usr/bin/mmount
  52. $(LN) mtools $(1)/usr/bin/mmove
  53. $(LN) mtools $(1)/usr/bin/mpartition
  54. $(LN) mtools $(1)/usr/bin/mrd
  55. $(LN) mtools $(1)/usr/bin/mren
  56. $(LN) mtools $(1)/usr/bin/mshortname
  57. $(LN) mtools $(1)/usr/bin/mshowfat
  58. $(LN) mtools $(1)/usr/bin/mtoolstest
  59. $(LN) mtools $(1)/usr/bin/mtype
  60. $(LN) mtools $(1)/usr/bin/mzip
  61. endef
  62. $(eval $(call BuildPackage,mtools))