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.

53 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=exfatprogs
  3. PKG_VERSION:=1.0.4
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/$(PKG_NAME)/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
  7. PKG_HASH:=3f755d35785a74138348b3a22dfcda5afc8a69e66a6a0c79be48225e6ca321ce
  8. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  9. PKG_LICENSE:=GPL-2.0-only
  10. PKG_LICENSE_FILES:=COPYING
  11. PKG_FIXUP:=autoreconf
  12. PKG_INSTALL:=1
  13. PKG_BUILD_PARALLEL:=1
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/exfatprogs/Default
  16. SECTION:=utils
  17. CATEGORY:=Utilities
  18. SUBMENU:=Filesystem
  19. URL:=https://github.com/exfatprogs/exfatprogs
  20. endef
  21. define Package/exfat-mkfs
  22. $(Package/exfatprogs/Default)
  23. TITLE:=Utility for creating an exFAT File System
  24. endef
  25. define Package/exfat-fsck
  26. $(Package/exfatprogs/Default)
  27. TITLE:=Utility for checking/repairing an exFAT File System
  28. endef
  29. CONFIGURE_ARGS += \
  30. --enable-shared \
  31. --disable-static
  32. define Package/exfat-mkfs/install
  33. $(INSTALL_DIR) $(1)/usr/sbin
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.exfat $(1)/usr/sbin
  35. endef
  36. define Package/exfat-fsck/install
  37. $(INSTALL_DIR) $(1)/usr/sbin
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fsck.exfat $(1)/usr/sbin
  39. endef
  40. $(eval $(call BuildPackage,exfat-mkfs))
  41. $(eval $(call BuildPackage,exfat-fsck))