gdisk: new package 3234/head
authordiizzyy <diizzyy@users.noreply.github.com>
Mon, 26 Sep 2016 15:50:30 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Sep 2016 15:50:30 +0000 (17:50 +0200)
Add gdisk to repo

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
utils/gdisk/Makefile [new file with mode: 0644]

diff --git a/utils/gdisk/Makefile b/utils/gdisk/Makefile
new file mode 100644 (file)
index 0000000..8797a57
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2016 Daniel Engberg <daniel.engberg.lists@pyret.net>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=gdisk
+PKG_VERSION:=1.0.1
+PKG_RELEASE:=1
+PKG_LICENSE:=GPL-2.0
+
+PKG_SOURCE:=gptfdisk-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/gptfdisk
+PKG_MD5SUM:=d7f3d306b083123bcc6f5941efade586
+PKG_SOURCE_SUBDIR:=gptfdisk-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/gdisk
+  SECTION:=utils
+  CATEGORY:=Utilities
+  SUBMENU:=disc
+  DEPENDS:=+libstdcpp +popt +libuuid
+  TITLE:=Partition utility that supports GPT
+  URL:=http://www.rodsbooks.com/gdisk
+  MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
+endef
+
+define Package/gdisk/description
+ Partition table manipulation utility with GPT support
+endef
+
+define Package/gdisk/install
+       $(INSTALL_DIR) $(1)/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/gdisk $(1)/sbin/
+endef
+
+$(eval $(call BuildPackage,gdisk))