summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2008-10-18 01:37:17 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2008-10-18 01:37:17 +0200
commit748fa1c06fa6d1402dd6af1f86056b341a4c2cad (patch)
treea2de0ee849aec4c7dc6ae2a106b68f03027fd600
parenta55c96741eb4530e29c5aa8aed70a80d4ab2084a (diff)
wt: add wt 2.2.0, a C++ Web Toolkit
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/wt/files/cmakelist.patch8
-rw-r--r--packages/wt/wt_2.2.0.bb27
3 files changed, 39 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 99c15e2e51..186ed0e926 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -15282,6 +15282,10 @@ sha256=f70b18243e049bbda66254388b6e94d404e747d913b8496d6e93a9c56bbf4af2
md5=eb06a9a05d3916addf9451297a558aa2
sha256=0c10e59dd079c4e5d9ec6eebe9a8ac0e1b9e472cccef49c705f87a78391e79fa
+[http://downloads.sourceforge.net/witty/wt-2.2.0.tar.gz]
+md5=c990186db06cf188cb267d12bc21e2da
+sha256=f91445e5e1a02ee16f0bc1eb31a1cdfa53c4bb1e1cb4f76fae33436d472e9345
+
[http://downloads.sourceforge.net/wvware/wv-1.2.0.tar.gz]
md5=b6319d5e75611fe2210453b5feb82c0c
sha256=a76f44468e78591e6d510d326702e7c3999d2b9dd3ab8ab8c1c9811fd5b111e4
diff --git a/packages/wt/files/cmakelist.patch b/packages/wt/files/cmakelist.patch
new file mode 100644
index 0000000000..405914a4ed
--- /dev/null
+++ b/packages/wt/files/cmakelist.patch
@@ -0,0 +1,8 @@
+diff -urN wt-2.2.0.orig/src/Wt/Ext/CMakeLists.txt wt-2.2.0/src/Wt/Ext/CMakeLists.txt
+--- wt-2.2.0.orig/src/Wt/Ext/CMakeLists.txt 2008-07-15 08:25:54.000000000 +0200
++++ wt-2.2.0/src/Wt/Ext/CMakeLists.txt 2008-10-17 22:37:38.000000000 +0200
+@@ -1,2 +1,3 @@
+-INSTALL_FILES(/include/Wt/Ext "...+[^Ch~]$")
++# avoid CMake* getting included
++INSTALL_FILES(/include/Wt/Ext "^[A-Z][a-z].*[^Ch~]$")
+ INSTALL_FILES(/include/Wt/Ext ExtDllDefs.h)
diff --git a/packages/wt/wt_2.2.0.bb b/packages/wt/wt_2.2.0.bb
new file mode 100644
index 0000000000..4bd1f37eb7
--- /dev/null
+++ b/packages/wt/wt_2.2.0.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "A C++ Web Toolkit"
+PRIORITY = "optional"
+SECTION = "devel"
+LICENSE = "GPL"
+DEPENDS = "boost"
+FILE_PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/witty/wt-${PV}.tar.gz \
+ file://cmakelist.patch;patch=1"
+
+FILES_${PN} += "${datadir}/Wt"
+FILES_${PN}-dev += "${datadir}/cmake-2.*"
+
+inherit cmake
+
+STAGE_TEMP = "${WORKDIR}/temp-staging"
+
+do_stage() {
+ rm -rf ${STAGE_TEMP}
+ mkdir -p ${STAGE_TEMP}
+ oe_runmake DESTDIR="${STAGE_TEMP}" install
+ cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+ cp -pPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
+ cp -pPR ${STAGE_TEMP}/${datadir}/cmake-2.* ${STAGING_DATADIR}
+ rm -rf ${STAGE_TEMP}
+}
+