mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
rrdtool: install python site packages into libdir
Fix the do_configure function to suite the latest version to install
python libraries into ${libdir}.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
501425295d
commit
626236af04
@@ -77,8 +77,8 @@ do_configure() {
|
|||||||
#remove the dependency of perl-shared:Makefile
|
#remove the dependency of perl-shared:Makefile
|
||||||
#or perl-shared/Makefile will be regenerated
|
#or perl-shared/Makefile will be regenerated
|
||||||
#if any code touch bindings/Makefile after below perl bindings code
|
#if any code touch bindings/Makefile after below perl bindings code
|
||||||
sed -i -e "s:\$(PYTHON) setup.py install:\$(PYTHON) setup.py install \
|
sed -i -e "s:python/setup.py install:python/setup.py install \
|
||||||
--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}:" \
|
--install-lib=${PYTHON_SITEPACKAGES_DIR}:" \
|
||||||
-e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \
|
-e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \
|
||||||
${B}/bindings/Makefile
|
${B}/bindings/Makefile
|
||||||
|
|
||||||
@@ -111,8 +111,8 @@ RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module-
|
|||||||
|
|
||||||
DESCRIPTION_${PN}-python = \
|
DESCRIPTION_${PN}-python = \
|
||||||
"The ${PN}-python package includes RRDtool bindings for python."
|
"The ${PN}-python package includes RRDtool bindings for python."
|
||||||
FILES_${PN}-python = "${nonarch_libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
|
FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
|
||||||
RDEPENDS_${PN}-python = "python"
|
RDEPENDS_${PN}-python = "python"
|
||||||
|
|
||||||
FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \
|
FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \
|
||||||
${nonarch_libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug"
|
${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug"
|
||||||
|
|||||||
Reference in New Issue
Block a user