summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils-common-base.bbclass
blob: 427275b40601ebd77435c09c4a2babdeebfcf231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
inherit python-dir

EXTRA_OEMAKE = ""

export STAGING_INCDIR
export STAGING_LIBDIR

PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"

FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"

FILES_${PN}-staticdev += "\
  ${PYTHON_SITEPACKAGES_DIR}/*.a \
"
FILES_${PN}-dev += "\
  ${datadir}/pkgconfig \
  ${libdir}/pkgconfig \
  ${PYTHON_SITEPACKAGES_DIR}/*.la \
"
FILES_${PN}-dbg += "\
  ${PYTHON_SITEPACKAGES_DIR}/.debug \
  ${PYTHON_SITEPACKAGES_DIR}/*/.debug \
  ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \
"