-
Notifications
You must be signed in to change notification settings - Fork 27
/
mono-xsp-3.x.inc
43 lines (33 loc) · 1.2 KB
/
mono-xsp-3.x.inc
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
42
43
DESCRIPTION = "Standalone web server written in C# that can be used to run ASP.NET applications"
SECTION = "devel/mono"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=9e1603e27acd337015fdfa7f7ff936c7"
inherit autotools-brokensep
inherit mono
SRC_URI = "https://github.com/mono/xsp/archive/${PV}.tar.gz"
do_configure () {
set +e
${CACHED_CONFIGUREVARS} ${S}/autogen.sh --verbose ${CONFIGUREOPTS} ${EXTRA_OECONF}
if [ "$?" != "0" ]; then
echo "Configure failed. The contents of all config.log files follows to aid debugging"
find ${S} -name config.log -print -exec cat {} \;
bbfatal "oe_runconf failed"
fi
set -e
}
S = "${WORKDIR}/xsp-${PV}"
PACKAGES += "${PN}-test \
${PN}-unittest \
"
FILES:${PN}-test = "${libdir}/xsp/test/*"
FILES:${PN}-unittest = "${libdir}/xsp/unittests/*"
FILES:${PN}-doc += "${libdir}/monodoc/*"
# AJL - For now we are going to parcel up the different XSP hosting (mod_mono, fastcgi, xsp) together. More granular packages in future
FILES:${PN} = "${bindir}/* \
${libdir}/* \
${libdir}/mono/* \
${libdir}/xsp/2.0/* \
${libdir}/xsp/4.0/* \
"
# We seem to run into problems with make parallelisation building mono-xsp, so disable it for now
PARALLEL_MAKE = ""