summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/parted_3.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted/parted_3.3.bb')
-rw-r--r--meta/recipes-extended/parted/parted_3.3.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-extended/parted/parted_3.3.bb b/meta/recipes-extended/parted/parted_3.3.bb
index a1fd3ef07b..915ab05b65 100644
--- a/meta/recipes-extended/parted/parted_3.3.bb
+++ b/meta/recipes-extended/parted/parted_3.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
3LICENSE = "GPLv3+" 3LICENSE = "GPLv3+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" 4LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
5SECTION = "console/tools" 5SECTION = "console/tools"
6DEPENDS = "ncurses readline util-linux virtual/libiconv" 6DEPENDS = "ncurses util-linux virtual/libiconv"
7 7
8SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ 8SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
9 file://no_check.patch \ 9 file://no_check.patch \
@@ -22,6 +22,9 @@ EXTRA_OECONF = "--disable-device-mapper"
22 22
23inherit autotools pkgconfig gettext texinfo ptest 23inherit autotools pkgconfig gettext texinfo ptest
24 24
25PACKAGECONFIG ?= "readline"
26PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
27
25BBCLASSEXTEND = "native nativesdk" 28BBCLASSEXTEND = "native nativesdk"
26 29
27do_compile_ptest() { 30do_compile_ptest() {
@@ -39,6 +42,7 @@ do_install_ptest() {
39 sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" $t/tests/Makefile 42 sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" $t/tests/Makefile
40 sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" $t/tests/Makefile 43 sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" $t/tests/Makefile
41 sed -i "s|^Makefile:.*|Makefile:|g" $t/tests/Makefile 44 sed -i "s|^Makefile:.*|Makefile:|g" $t/tests/Makefile
45 sed -i "/^BUILDINFO.*$/d" $t/tests/Makefile
42 for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \ 46 for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \
43 do cp ${B}/tests/.libs/$i $t/tests/; \ 47 do cp ${B}/tests/.libs/$i $t/tests/; \
44 done 48 done