blob: e64a496f19c15cdfcce43ebe212efce6ad8bb97b (
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
32
33
34
35
36
37
38
39
40
41
|
DEPENDS = "mono-native"
EXTRA_OECONF += " --disable-mcs-build mono_cv_clang=no "
MONOLIBS = "\
2.0 \
2.0-api \
3.5 \
3.5-api \
4.0 \
4.0-api \
4.5 \
4.5.1-api \
4.5.2-api \
4.5-api \
4.6.1-api \
4.6.2-api \
4.6-api \
4.7-api \
compat-2.0 \
gac \
lldb \
mono-configuration-crypto \
monodoc \
xbuild \
xbuild-frameworks \
"
do_install_append() {
cp -af --no-preserve=ownership \
${STAGING_DIR_NATIVE}${sysconfdir}/${PN} ${D}${sysconfdir}
install -d ${D}${libdir}/${PN}
for lib in ${MONOLIBS}; do
if [ -d "${STAGING_DIR_NATIVE}${libdir}/${PN}/$lib" ]; then
cp -af --no-preserve=ownership \
${STAGING_DIR_NATIVE}${libdir}/${PN}/$lib ${D}${libdir}/${PN}
fi
done
# AJL - Remove mscorlib.dll.so and mcs.exe.so files copied from mono-native to the mono destination
find ${D}${libdir}/${PN} -name *.dll.so -o -name *.exe.so | xargs -i rm {}
}
|