aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnuradio
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-23 15:20:19 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-25 09:28:26 +0300
commit658ae76b938a90ac3587909f6b8525559fe57b56 (patch)
tree9216406ea230a65552429cb71c190c0e00d04c2d /recipes/gnuradio
parente0f9409803d6edc14608828967c0c52b5a2d182e (diff)
downloadopenembedded-658ae76b938a90ac3587909f6b8525559fe57b56.tar.gz
openembedded-658ae76b938a90ac3587909f6b8525559fe57b56.tar.bz2
openembedded-658ae76b938a90ac3587909f6b8525559fe57b56.zip
use PYTHON_SITEPACKAGES_DIR
Converted most of python site-packages references to PYTHON_SITEPACKAGES_DIR. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/gnuradio')
-rw-r--r--recipes/gnuradio/gnuradio-libusb-compat.inc12
-rw-r--r--recipes/gnuradio/gnuradio.inc12
2 files changed, 12 insertions, 12 deletions
diff --git a/recipes/gnuradio/gnuradio-libusb-compat.inc b/recipes/gnuradio/gnuradio-libusb-compat.inc
index 8a0ca54726..516775bec3 100644
--- a/recipes/gnuradio/gnuradio-libusb-compat.inc
+++ b/recipes/gnuradio/gnuradio-libusb-compat.inc
@@ -22,7 +22,7 @@ EXTRA_OECONF = " \
--enable-gr-audio-oss \
--enable-mblock \
--disable-html-docs \
- --with-pythondir=/usr/lib/${PYTHON_DIR}/site-packages \
+ --with-pythondir=${PYTHON_SITEPACKAGES_DIR} \
PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR} \
"
@@ -99,12 +99,12 @@ FILES_libgnuradio-core = "${libdir}/libgnuradio-core.so.* ${sysconfdir}/gnuradio
FILES_libgnuradio-core-qa = "${libdir}/libgnuradio-core-qa.so.*"
FILES_libgromnithread = "${libdir}/libgromnithread.so*"
-FILES_${PN} += "${libdir}/python*/site-packages/gnuradio/*"
-FILES_${PN}-dbg += "${libdir}/python*/site-packages/gnuradio/.debug \
- ${libdir}/python*/site-packages/gnuradio/*/.debug \
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/*"
+FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \
+ ${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \
"
-FILES_gnuradio-usrp = "${libdir}/python*/site-packages/usrp/* \
+FILES_gnuradio-usrp = "${PYTHON_SITEPACKAGES_DIR}/usrp/* \
${bindir}/usrp* \
${datadir}/usrp/*/*"
-FILES_gnuradio-usrp-dbg = "${libdir}/python*/site-packages/usrp/.debug"
+FILES_gnuradio-usrp-dbg = "${PYTHON_SITEPACKAGES_DIR}/usrp/.debug"
diff --git a/recipes/gnuradio/gnuradio.inc b/recipes/gnuradio/gnuradio.inc
index d1d0c12fea..6eaf119f4c 100644
--- a/recipes/gnuradio/gnuradio.inc
+++ b/recipes/gnuradio/gnuradio.inc
@@ -21,7 +21,7 @@ EXTRA_OECONF = " \
--enable-gr-audio-oss \
--enable-mblock \
--disable-html-docs \
- --with-pythondir=/usr/lib/${PYTHON_DIR}/site-packages \
+ --with-pythondir=${PYTHON_SITEPACKAGES_DIR} \
PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR} \
"
@@ -79,12 +79,12 @@ FILES_libgnuradio-core = "${libdir}/libgnuradio-core.so.* ${sysconfdir}/gnuradio
FILES_libgnuradio-core-qa = "${libdir}/libgnuradio-core-qa.so.*"
FILES_libgromnithread = "${libdir}/libgromnithread.so*"
-FILES_${PN} += "${libdir}/python*/site-packages/gnuradio/*"
-FILES_${PN}-dbg += "${libdir}/python*/site-packages/gnuradio/.debug \
- ${libdir}/python*/site-packages/gnuradio/*/.debug \
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/*"
+FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \
+ ${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \
"
-FILES_gnuradio-usrp = "${libdir}/python*/site-packages/usrp/* \
+FILES_gnuradio-usrp = "${PYTHON_SITEPACKAGES_DIR}/usrp/* \
${bindir}/usrp* \
${datadir}/usrp/*/*"
-FILES_gnuradio-usrp-dbg = "${libdir}/python*/site-packages/usrp/.debug"
+FILES_gnuradio-usrp-dbg = "${PYTHON_SITEPACKAGES_DIR}/usrp/.debug"