From 63e12109ce58a5622dc47bdff2d1d347b3474a04 Mon Sep 17 00:00:00 2001 From: Xin Ouyang Date: Mon, 13 Feb 2012 16:01:50 +0800 Subject: swig: for libraries to build python bindings. libselinux & libsemanage would use it to build python bindings. --- recipes-devtools/swig/swig.inc | 22 ++++++++++++++++++++++ recipes-devtools/swig/swig_2.0.0.bb | 7 +++++++ 2 files changed, 29 insertions(+) create mode 100644 recipes-devtools/swig/swig.inc create mode 100644 recipes-devtools/swig/swig_2.0.0.bb (limited to 'recipes-devtools') diff --git a/recipes-devtools/swig/swig.inc b/recipes-devtools/swig/swig.inc new file mode 100644 index 0000000..1c33e6e --- /dev/null +++ b/recipes-devtools/swig/swig.inc @@ -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 +} + diff --git a/recipes-devtools/swig/swig_2.0.0.bb b/recipes-devtools/swig/swig_2.0.0.bb new file mode 100644 index 0000000..b443def --- /dev/null +++ b/recipes-devtools/swig/swig_2.0.0.bb @@ -0,0 +1,7 @@ +require swig.inc + +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "36ee2d9974be46a9f0a36460af928eb9" +SRC_URI[sha256sum] = "2568d042d3c7cfbcb17e2471b0434bd3aa78d7a1829f9ef6f1b9fc522e4754ea" + -- cgit v1.2.3-54-g00ecf