Commit Graph

2 Commits

Author SHA1 Message Date
Thomas Petazzoni
32574fe118 python-sip: fix installation of sip.h header
With the current python-sip package, the sip.h header is installed in
$(STAGING_DIR)/usr/include/python3.4/, while Python headers are
expected to be installed in $(STAGING_DIR)/usr/include/python3.4m/
(notice the 'm' at the end).

Since with this, the directory name for the headers and libraries is
not the same, this patch introduces separate PYTHON_SIP_LIB_DIR and
PYTHON_SIP_INCLUDE_DIR variables, and use them for the --destdir and
--incdir options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-19 19:10:32 +02:00
Gwenhael Goavec-Merou
72578e1883 python-sip: new package
Based on http://lists.busybox.net/pipermail/buildroot/2013-October/080830.html

[Thomas:
 - fix license information: it is a "or" between the SIP license,
   GPLv2 and GPLv3
 - the target version of python-sip does *not* need the host version
   of python-sip, it can build perfectly fine without it. python-qt
   will need host-python-sip, but there's no need to have this
   dependency between python-sip and host-python-sip.
 - add support for Python 3, since the package could also be enabled
   for Python 3.
 - add <pkg>_BUILD_CMDS for host and target variants, so that the
   build does not take place when doing the installation.
 - use HOST_MAKE_ENV and TARGET_MAKE_ENV where appropriate.
 - fix indentation.
 - propagate the thread and mmu dependencies from Qt.
 - extend the Config.in help text.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-19 15:00:06 +02:00