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.

42 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2016 Daniel Engberg <daniel.engberg.lists@pyret.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=gdisk
  9. PKG_VERSION:=1.0.1
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPL-2.0
  12. PKG_SOURCE:=gptfdisk-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=@SF/gptfdisk
  14. PKG_MD5SUM:=d7f3d306b083123bcc6f5941efade586
  15. PKG_SOURCE_SUBDIR:=gptfdisk-$(PKG_VERSION)
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/gdisk
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. SUBMENU:=disc
  22. DEPENDS:=+libstdcpp +popt +libuuid
  23. TITLE:=Partition utility that supports GPT
  24. URL:=http://www.rodsbooks.com/gdisk
  25. MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
  26. endef
  27. define Package/gdisk/description
  28. Partition table manipulation utility with GPT support
  29. endef
  30. define Package/gdisk/install
  31. $(INSTALL_DIR) $(1)/sbin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/gdisk $(1)/sbin/
  33. endef
  34. $(eval $(call BuildPackage,gdisk))