diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-02-13 16:01:50 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-02-13 16:03:01 +0800 |
commit | 63e12109ce58a5622dc47bdff2d1d347b3474a04 (patch) | |
tree | 0fe9a002f76cd78e4e25166732a1fb99a5235b07 /recipes-devtools | |
parent | f8b0394e7d598df08de50a292ef9242f49f2741b (diff) | |
download | meta-selinux-63e12109ce58a5622dc47bdff2d1d347b3474a04.tar.gz |
swig: for libraries to build python bindings.
libselinux & libsemanage would use it to build python bindings.
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/swig/swig.inc | 22 | ||||
-rw-r--r-- | recipes-devtools/swig/swig_2.0.0.bb | 7 |
2 files changed, 29 insertions, 0 deletions
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 @@ | |||
1 | DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator" | ||
2 | HOMEPAGE = "http://swig.sourceforge.net/" | ||
3 | LICENSE = "BSD & GPLv3" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \ | ||
5 | file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \ | ||
6 | file://LICENSE-UNIVERSITIES;md5=e0eaeeef7b2662c0c2d0d3c0b2509f75" | ||
7 | |||
8 | SECTION = "devel" | ||
9 | INC_PR = "r0" | ||
10 | |||
11 | DEPENDS = "python" | ||
12 | |||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | ||
14 | |||
15 | inherit autotools | ||
16 | |||
17 | BBCLASSEXTEND = "native" | ||
18 | |||
19 | do_configure() { | ||
20 | oe_runconf | ||
21 | } | ||
22 | |||
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 @@ | |||
1 | require swig.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI[md5sum] = "36ee2d9974be46a9f0a36460af928eb9" | ||
6 | SRC_URI[sha256sum] = "2568d042d3c7cfbcb17e2471b0434bd3aa78d7a1829f9ef6f1b9fc522e4754ea" | ||
7 | |||