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.

70 lines
2.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=mtools
  3. PKG_VERSION:=4.0.26
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  6. PKG_SOURCE_URL:=@GNU/mtools
  7. PKG_HASH:=539f1c8b476a16e198d8bcb10a5799e22e69de49d854f7dbd85b64c2a45dea1a
  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. define Package/mtools/install
  26. $(INSTALL_DIR) $(1)/usr/bin
  27. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amuFormat.sh $(1)/usr/bin/
  28. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcheck $(1)/usr/bin/
  29. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcomp $(1)/usr/bin/
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mkmanifest $(1)/usr/bin/
  31. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mtools $(1)/usr/bin/
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mxtar $(1)/usr/bin/
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tgz $(1)/usr/bin/
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uz $(1)/usr/bin/
  35. $(LN) uz $(1)/usr/bin/lz
  36. $(LN) mtools $(1)/usr/bin/mattrib
  37. $(LN) mtools $(1)/usr/bin/mbadblock
  38. $(LN) mtools $(1)/usr/bin/mcat
  39. $(LN) mtools $(1)/usr/bin/mcd
  40. $(LN) mtools $(1)/usr/bin/mclasserase
  41. $(LN) mtools $(1)/usr/bin/mcopy
  42. $(LN) mtools $(1)/usr/bin/mdel
  43. $(LN) mtools $(1)/usr/bin/mdeltree
  44. $(LN) mtools $(1)/usr/bin/mdir
  45. $(LN) mtools $(1)/usr/bin/mdu
  46. $(LN) mtools $(1)/usr/bin/mformat
  47. $(LN) mtools $(1)/usr/bin/minfo
  48. $(LN) mtools $(1)/usr/bin/mlabel
  49. $(LN) mtools $(1)/usr/bin/mmd
  50. $(LN) mtools $(1)/usr/bin/mmount
  51. $(LN) mtools $(1)/usr/bin/mmove
  52. $(LN) mtools $(1)/usr/bin/mpartition
  53. $(LN) mtools $(1)/usr/bin/mrd
  54. $(LN) mtools $(1)/usr/bin/mren
  55. $(LN) mtools $(1)/usr/bin/mshortname
  56. $(LN) mtools $(1)/usr/bin/mshowfat
  57. $(LN) mtools $(1)/usr/bin/mtoolstest
  58. $(LN) mtools $(1)/usr/bin/mtype
  59. $(LN) mtools $(1)/usr/bin/mzip
  60. endef
  61. $(eval $(call BuildPackage,mtools))