require mono_1.2.5.inc
-PR = "r0"
+PR = "r1"
DEPENDS = "glib-2.0-native"
+SRC_URI += "file://mono-fix-libdir-path.patch;patch=1"
+
inherit native
#do_stage_prepend() {
# install -m 755 ${S}/mono/monoburg/monoburg ${STAGING_BINDIR}
#}
+do_fix_libtool_name() {
+ # inherit native will make that all native tools that are being
+ # built are prefixed with something like "i686-linux-",
+ # including libtool. Fix up some hardcoded libtool names:
+ for i in "${S}"/runtime/*-wrapper.in; do
+ sed -e "s/libtool/${BUILD_SYS}-libtool/" -i "${i}"
+ done
+}
+addtask fix_libtool_name after do_patch before do_configure
require mono_1.2.5.inc
-#DEPENDS = "mono-native glib-2.0"
-# for now, we skip the mono-native build -- just install
-# mono using your distro package manager for now
-# after we get the target version working, we'll worry
-# about the native package for systems that don't have mono
-# installed
-DEPENDS = "glib-2.0"
+DEPENDS = "mono-native glib-2.0"
-PR = "r0"
+PR = "r1"
SRC_URI += "file://configure.patch;patch=1"
cp ${S}/mcs/class/lib/monolite/* ${D}${libdir}/mono/1.0/
}
+EXTRA_OECONF += " --disable-mcs-build "
+
PACKAGES =+ "mono-dll"
FILES_mono-dll = "${libdir}/mono/1.0/"
S = "${WORKDIR}/mono-${PV}"
inherit autotools
-EXTRA_OECONF = "--disable-mcs-build"
EXTRA_OECONF_arm = "--without-tls"
EXTRA_OECONF_mipsel = "--without-tls"