diff options
-rw-r--r-- | packages/mono/mono-native_1.2.2.1.bb | 4 | ||||
-rw-r--r-- | packages/mono/mono.inc | 17 | ||||
-rw-r--r-- | packages/mono/mono_1.2.2.1.bb | 16 |
3 files changed, 19 insertions, 18 deletions
diff --git a/packages/mono/mono-native_1.2.2.1.bb b/packages/mono/mono-native_1.2.2.1.bb index 01b795f03e..67651ae565 100644 --- a/packages/mono/mono-native_1.2.2.1.bb +++ b/packages/mono/mono-native_1.2.2.1.bb @@ -1,6 +1,4 @@ -require mono_${PV}.bb - -S = "${WORKDIR}/mono-${PV}" +require mono.inc DEPENDS = "glib-2.0-native" diff --git a/packages/mono/mono.inc b/packages/mono/mono.inc new file mode 100644 index 0000000000..444427ea4a --- /dev/null +++ b/packages/mono/mono.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "Mono Programming Language" +SECTION = "devel/mono" +LICENSE = "GPL LGPL X11" + +SRC_URI = "http://go-mono.com/sources/mono/mono-${PV}.tar.gz \ + file://cpu-arm.h" + +S = "${WORKDIR}/mono-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-mcs-build" +EXTRA_OECONF_arm = "--without-tls" + +do_compile_prepend() { + cp ${WORKDIR}/cpu-arm.h ${S}/mono/mini/ +} diff --git a/packages/mono/mono_1.2.2.1.bb b/packages/mono/mono_1.2.2.1.bb index e0b954543b..7d7134e2b2 100644 --- a/packages/mono/mono_1.2.2.1.bb +++ b/packages/mono/mono_1.2.2.1.bb @@ -1,6 +1,4 @@ -DESCRIPTION = "Mono Programming Language" -SECTION = "devel/mono" -LICENSE = "GPL LGPL X11" +require mono.inc DEPENDS = "mono-native glib-2.0" PR = "r1" @@ -8,18 +6,6 @@ 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/ |