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.

41 lines
978 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=fatresize
  3. PKG_VERSION:=1.1.0
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL:=https://github.com/ya-mouse/fatresize.git
  7. PKG_SOURCE_DATE:=2021-11-24
  8. PKG_SOURCE_VERSION:=316981e43b14f42a9aa7b461c97e1f61f6f2390b
  9. PKG_MIRROR_HASH:=5a7eabaf5896a92c72b9bdf1cacc5aa1bd19335d8c617c8c9bd0f02699b91548
  10. PKG_FIXUP:=autoreconf
  11. PKG_BUILD_PARALLEL:=1
  12. PKG_INSTALL:=1
  13. PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
  14. PKG_LICENSE:=GPL-3.0-only
  15. PKG_LICENSE_FILES:=COPYING
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/fatresize
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=fatresize
  21. SUBMENU:=Disc
  22. URL:=https://github.com/ya-mouse/fatresize
  23. DEPENDS:=+libparted
  24. endef
  25. define Package/fatresize/description
  26. Resize FAT partitions using libparted
  27. endef
  28. define Package/fatresize/install
  29. $(INSTALL_DIR) $(1)/sbin
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fatresize $(1)/sbin/
  31. endef
  32. $(eval $(call BuildPackage,fatresize))