[yocto] [meta-mono] [PATCH 2/2] mono-basic: add version 4.0
Richard Tollerton
rich.tollerton at ni.com
Thu Jul 16 10:21:56 PDT 2015
Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
---
recipes-mono/mono-basic/mono-basic-4.xx.inc | 4 ++--
recipes-mono/mono-basic/mono-basic_4.0.bb | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
create mode 100644 recipes-mono/mono-basic/mono-basic_4.0.bb
diff --git a/recipes-mono/mono-basic/mono-basic-4.xx.inc b/recipes-mono/mono-basic/mono-basic-4.xx.inc
index ad26924..1eec933 100644
--- a/recipes-mono/mono-basic/mono-basic-4.xx.inc
+++ b/recipes-mono/mono-basic/mono-basic-4.xx.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d8c5dc22eb6f25667cf8d96f603635e7"
inherit autotools
-SRC_URI = "http://download.mono-project.com/sources/mono-basic/mono-basic-${PV}.tar.bz2"
+SRC_URI = "https://github.com/mono/mono-basic/archive/${PV}.tar.gz"
FILES_${PN} += " \
${libdir}/mono/*/* \
@@ -22,8 +22,8 @@ FILES_${PN}-dbg += " \
"
do_compile_prepend() {
- sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_2_0.make
sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_4_0.make
+ sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_4_5.make
}
do_install_append() {
diff --git a/recipes-mono/mono-basic/mono-basic_4.0.bb b/recipes-mono/mono-basic/mono-basic_4.0.bb
new file mode 100644
index 0000000..af674cd
--- /dev/null
+++ b/recipes-mono/mono-basic/mono-basic_4.0.bb
@@ -0,0 +1,5 @@
+require mono-basic-4.xx.inc
+
+SRC_URI[md5sum] = "c0783a53234ba878a103fcbc2f10630d"
+SRC_URI[sha256sum] = "1760936b2b4d780fb69ccf230280216836d28a2c49d08f483afe2c3192d8359d"
+
--
2.4.4
More information about the yocto
mailing list