summaryrefslogtreecommitdiff
path: root/packages/wt/wt_2.2.0.bb
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 /packages/wt/wt_2.2.0.bb
parenta55c96741eb4530e29c5aa8aed70a80d4ab2084a (diff)
wt: add wt 2.2.0, a C++ Web Toolkit
Diffstat (limited to 'packages/wt/wt_2.2.0.bb')
-rw-r--r--packages/wt/wt_2.2.0.bb27
1 files changed, 27 insertions, 0 deletions
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}
+}
+