diff options
Diffstat (limited to 'meta/recipes-extended/parted/parted_3.3.bb')
-rw-r--r-- | meta/recipes-extended/parted/parted_3.3.bb | 6 |
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" | |||
3 | LICENSE = "GPLv3+" | 3 | LICENSE = "GPLv3+" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" |
5 | SECTION = "console/tools" | 5 | SECTION = "console/tools" |
6 | DEPENDS = "ncurses readline util-linux virtual/libiconv" | 6 | DEPENDS = "ncurses util-linux virtual/libiconv" |
7 | 7 | ||
8 | SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ | 8 | SRC_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 | ||
23 | inherit autotools pkgconfig gettext texinfo ptest | 23 | inherit autotools pkgconfig gettext texinfo ptest |
24 | 24 | ||
25 | PACKAGECONFIG ?= "readline" | ||
26 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | ||
27 | |||
25 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
26 | 29 | ||
27 | do_compile_ptest() { | 30 | do_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 |