summaryrefslogtreecommitdiff
path: root/nonworking
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-29 01:50:45 +0000
committerChris Larson <clarson@kergoth.com>2004-01-29 01:50:45 +0000
commit8320397539e4630c4adbc33b6c593d9feff7275a (patch)
tree7f6b3ed02182183507b16c07c441d5c2db559b04 /nonworking
parentde903d3e36ea2331dbece601db35a2e24d4cd48e (diff)
Initial pass at fixing the appWeb crosscompile. No install target yet, and I'm certain it makes more foolish assumptions in the code.
BKrev: 401866f5Agynu7l_Rl5aZ2AliKNCXg
Diffstat (limited to 'nonworking')
-rw-r--r--nonworking/appweb/appweb-1.0.0/charsignedness.patch0
-rw-r--r--nonworking/appweb/appweb-1.0.0/makerules.patch0
-rw-r--r--nonworking/appweb/appweb_1.0.0.oe77
3 files changed, 77 insertions, 0 deletions
diff --git a/nonworking/appweb/appweb-1.0.0/charsignedness.patch b/nonworking/appweb/appweb-1.0.0/charsignedness.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nonworking/appweb/appweb-1.0.0/charsignedness.patch
diff --git a/nonworking/appweb/appweb-1.0.0/makerules.patch b/nonworking/appweb/appweb-1.0.0/makerules.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nonworking/appweb/appweb-1.0.0/makerules.patch
diff --git a/nonworking/appweb/appweb_1.0.0.oe b/nonworking/appweb/appweb_1.0.0.oe
index e69de29bb2..68265895d4 100644
--- a/nonworking/appweb/appweb_1.0.0.oe
+++ b/nonworking/appweb/appweb_1.0.0.oe
@@ -0,0 +1,77 @@
+SRC_URI = http://www.mbedthis.com/software/appWeb-${PV}.LINUX-i386.self.tar.gz
+SRC_URI_EXTRA = 'file://${WORKDIR}/appWeb-src-${PV}-5.tar.gz \
+ file://${FILESDIR}/charsignedness.patch;patch=1 \
+ file://${FILESDIR}/makerules.patch;patch=1'
+S = ${WORKDIR}/appWeb-${PV}
+
+python do_unpack () {
+ oe.build.exec_func('base_do_unpack', d)
+ src_uri = oe.data.getVar('SRC_URI', d)
+ oe.data.setVar('SRC_URI', '${SRC_URI_EXTRA}', d)
+ oe.build.exec_func('base_do_unpack', d)
+ oe.data.setVar('SRC_URI', src_uri, d)
+ oe.build.exec_func('do_unpack_cleanup', d)
+}
+
+do_unpack_cleanup () {
+ (
+ set -e
+ cd ${WORKDIR}
+ rm -f README.HTML install remove
+ )
+}
+
+python do_patch () {
+ oe.build.exec_func('base_do_patch', d)
+ src_uri = oe.data.getVar('SRC_URI', d)
+ oe.data.setVar('SRC_URI', '${SRC_URI_EXTRA}', d)
+ oe.build.exec_func('base_do_patch', d)
+ oe.data.setVar('SRC_URI', src_uri, d)
+}
+# --enable-access-log
+# --enable-admin
+# --enable-all-static
+# --enable-assert
+# --enable-c-api
+# --enable-dll
+# --enable-fast-malloc
+# --enable-goahead-compat
+# --enable-if-modified
+# --enable-log
+# --enable-rom-fs
+# --enable-run-as-service
+# --enable-safe-strings
+# --enable-squeeze
+# --enable-ssl
+# --enable-session
+
+APPWEB_TARGET = ${TARGET_ARCH}
+APPWEB_OS = ${TARGET_OS}
+APPWEB_OS_linux = LINUX
+EXTRA_OECONF = '--os ${APPWEB_OS} --target ${APPWEB_TARGET} \
+ --enable-keep-alive \
+ --enable-multi-thread \
+ --enable-cgi \
+ --enable-cookie \
+ --enable-config \
+ --enable-digest-auth \
+ --disable-ssl'
+EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'CPP=${CXX}' 'LD=${CC}'"
+
+export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
+do_configure () {
+ ./configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+ oe_runmake build
+ oe_runmake compile
+}
+
+do_stage () {
+ :
+}
+
+do_install () {
+ :
+}