swig: for libraries to build python bindings.

libselinux & libsemanage would use it to build python bindings.
This commit is contained in:
Xin Ouyang 2012-02-13 16:01:50 +08:00
parent f8b0394e7d
commit 63e12109ce
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,22 @@
DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
HOMEPAGE = "http://swig.sourceforge.net/"
LICENSE = "BSD & GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE-UNIVERSITIES;md5=e0eaeeef7b2662c0c2d0d3c0b2509f75"
SECTION = "devel"
INC_PR = "r0"
DEPENDS = "python"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
inherit autotools
BBCLASSEXTEND = "native"
do_configure() {
oe_runconf
}

View File

@ -0,0 +1,7 @@
require swig.inc
PR = "${INC_PR}.0"
SRC_URI[md5sum] = "36ee2d9974be46a9f0a36460af928eb9"
SRC_URI[sha256sum] = "2568d042d3c7cfbcb17e2471b0434bd3aa78d7a1829f9ef6f1b9fc522e4754ea"