summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/bzip2')
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.6.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 43b462ad8c..e0c710b038 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -24,6 +24,8 @@ inherit autotools update-alternatives
24ALTERNATIVE_PRIORITY = "100" 24ALTERNATIVE_PRIORITY = "100"
25ALTERNATIVE_${PN} = "bunzip2 bzcat" 25ALTERNATIVE_${PN} = "bunzip2 bzcat"
26 26
27#install binaries to bzip2-native under sysroot for replacement-native
28EXTRA_OECONF_virtclass-native += "--bindir=${STAGING_BINDIR_NATIVE}/${PN}"
27do_configure_prepend () { 29do_configure_prepend () {
28 cp ${WORKDIR}/configure.ac ${S}/ 30 cp ${WORKDIR}/configure.ac ${S}/
29 cp ${WORKDIR}/Makefile.am ${S}/ 31 cp ${WORKDIR}/Makefile.am ${S}/
@@ -40,5 +42,5 @@ FILES_libbz2-staticdev = "${libdir}/*.a"
40SECTION_libbz2-staticdev = "devel" 42SECTION_libbz2-staticdev = "devel"
41RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" 43RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})"
42 44
43PROVIDES_append_virtclass-native = " bzip2-full-native" 45PROVIDES_append_virtclass-native = " bzip2-replacement-native"
44BBCLASSEXTEND = "native" 46BBCLASSEXTEND = "native"