summaryrefslogtreecommitdiff
path: root/packages/wxwidgets/wxwidgets_2.8.9.bb
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-09-22 15:31:29 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-09-22 15:31:29 +0000
commitb1ecf0f6f4d025ba8c41d505acea0d677882e957 (patch)
tree000c15abff90a6793bbf47b18de74a3a3f78f40b /packages/wxwidgets/wxwidgets_2.8.9.bb
parentb8146d9b53740cd6b1b8a5bd3622a9ed9eed6ebb (diff)
wxbase, wxwidgets: bump to 2.8.9
Diffstat (limited to 'packages/wxwidgets/wxwidgets_2.8.9.bb')
-rw-r--r--packages/wxwidgets/wxwidgets_2.8.9.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/wxwidgets/wxwidgets_2.8.9.bb b/packages/wxwidgets/wxwidgets_2.8.9.bb
new file mode 100644
index 0000000000..8e8d3565fd
--- /dev/null
+++ b/packages/wxwidgets/wxwidgets_2.8.9.bb
@@ -0,0 +1,25 @@
+require wxwidgets.inc
+
+PR = "r0"
+
+LEAD_SONAME = "libwx_gtk2_core-2.8.so"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/wx-2.8/wx
+ cp -pR include/wx ${STAGING_INCDIR}/wx-2.8
+ cp -pR lib/libwx* ${STAGING_LIBDIR}
+ cp -pR lib/wx ${STAGING_LIBDIR}
+ cp -pR build/bakefiles/wxpresets/presets ${STAGING_DATADIR}/bakefile
+ cp -pR wxwin.m4 ${STAGING_DATADIR}/aclocal
+ ln -sf ${STAGING_LIBDIR}/wx/config/${TARGET_PREFIX}gtk2-ansi-release-2.8 ${STAGING_BINDIR_CROSS}/wx-config
+ sed -e s,'wxconfdir=".*"','wxconfigdir="${STAGING_LIBDIR}/wx/config"', \
+ -e s,'bindir=".*"','bindir="${STAGING_BINDIR}"', \
+ -e s,'libdir=".*"','libdir="${STAGING_LIBDIR}"', \
+ -e s,'includedir=".*"','includedir="${STAGING_INCDIR}"', \
+ -i ${STAGING_LIBDIR}/wx/config/${TARGET_PREFIX}gtk2-ansi-release-2.8
+}
+
+do_install() {
+ oe_runmake 'DESTDIR=${D}' install
+ ln -sf ${libdir}/wx/config/${TARGET_PREFIX}gtk2-ansi-release-2.8 ${D}${bindir}/wx-config
+}