blob: e0b954543b585a06325fb86e767e06c4540139c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
DESCRIPTION = "Mono Programming Language"
SECTION = "devel/mono"
LICENSE = "GPL LGPL X11"
DEPENDS = "mono-native glib-2.0"
PR = "r1"
#We only have a cpu-${arch}.h from arm, so let's mask out non-working architectures
COMPATIBLE_HOST = "arm.*-linux"
SRC_URI = "http://go-mono.com/sources/mono/mono-${PV}.tar.gz \
file://cpu-arm.h"
inherit autotools
EXTRA_OECONF = "--disable-mcs-build"
EXTRA_OECONF_arm = "--without-tls"
do_compile_prepend() {
cp ${WORKDIR}/cpu-arm.h ${S}/mono/mini/
}
do_install_append() {
install -d ${D}${libdir}/mono/1.0/
cp ${S}/mcs/class/lib/monolite/* ${D}${libdir}/mono/1.0/
}
PACKAGES =+ "mono-dll"
FILES_mono-dll = "${libdir}/mono/1.0/"
|