devnodes-minimal: new recipe to create /dev/console and /dev/null
[opendreambox.git] / meta-opendreambox / recipes-devtools / swig / swig.inc
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=8ce9dcc8f7c994de4a408b205c72ba08"
7
8 SECTION = "devel"
9
10 DEPENDS = "libpcre python"
11
12 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
13
14 inherit autotools
15
16 EXTRA_OECONF = " \
17     --with-python=${STAGING_BINDIR_NATIVE}/python \
18     --without-allegrocl \
19     --without-android \
20     --without-boost \
21     --without-chicken \
22     --without-clisp \
23     --without-csharp \
24     --without-d \
25     --without-gcj \
26     --without-go \
27     --without-guile \
28     --without-java \
29     --without-lua \
30     --without-mzscheme \
31     --without-ocaml \
32     --without-octave \
33     --without-perl5 \
34     --without-pike \
35     --without-php \
36     --without-python3 \
37     --without-r \
38     --without-ruby \
39     --without-tcl \
40 "
41
42 BBCLASSEXTEND = "native"
43
44 do_configure() {
45     install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/Tools/config
46     install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config
47     install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
48     install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
49     oe_runconf
50 }
51