blob: c98b99d1d5d16555de0c116e9e47c50e264bbf88 (
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
25
|
DESCRIPTION = "Python Orbit bindings"
LICENSE = "LGPL"
PR = "r1"
inherit gnome distutils-base pkgconfig
SRC_URI += "file://acinclude.m4"
EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
EXTRA_OEMAKE = "-e"
do_configure() {
install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
export HOST_SYS=${HOST_SYS}
export BUILD_SYS=${BUILD_SYS}
export CC=${TARGET_PREFIX}gcc
autotools_do_configure
}
do_stage() {
install -d ${STAGING_INCDIR}/pyorbit-2
install -m 0644 src/pyorbit.h ${STAGING_INCDIR}/pyorbit-2
autotools_stage_all
}
|