summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-03 18:25:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-05 13:19:54 +0100
commite7037b93d43e6bf3b62e7f456645250eae91e2cf (patch)
treed59d9e58c424ac77e2683e14fe818ae023d239c2 /meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb
parentd22f00e5a465ae04c5948083dacb8aad10bf5f4c (diff)
downloadpoky-e7037b93d43e6bf3b62e7f456645250eae91e2cf.tar.gz
gptfdisk: update to 1.0.5
Add a patch to correctly include curses header. (From OE-Core rev: 99078a950877787704ea92d4557cb8e0ab3827fe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb')
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb b/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb
new file mode 100644
index 0000000000..c7850f03ca
--- /dev/null
+++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Utility for modifying GPT disk partitioning"
2DESCRIPTION = "GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. The related FixParts utility fixes some common problems on Master Boot Record (MBR) disks."
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
6
7DEPENDS = "util-linux"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
10 file://0001-gptcurses-correctly-include-curses.h.patch \
11 "
12SRC_URI[md5sum] = "58dac67c85e46ca87b587231549aefe6"
13SRC_URI[sha256sum] = "0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f"
14
15UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/"
16UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/"
17
18EXTRA_OEMAKE = "'CC=${CC}' 'CXX=${CXX}' gdisk fixparts ${PACKAGECONFIG_CONFARGS}"
19
20PACKAGECONFIG ??= "ncurses popt"
21PACKAGECONFIG[ncurses] = "cgdisk,,ncurses"
22PACKAGECONFIG[popt] = "sgdisk,,popt"
23
24do_install() {
25 install -d ${D}${sbindir}
26 for f in cgdisk sgdisk; do
27 if [ -x $f ]; then
28 install -m 0755 $f ${D}${sbindir}
29 fi
30 done
31 install -m 0755 gdisk ${D}${sbindir}
32 install -m 0755 fixparts ${D}${sbindir}
33}
34
35BBCLASSEXTEND = "native nativesdk"