summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb
diff options
context:
space:
mode:
authorMika Laitio <lamikr@cc.jyu.fi>2006-11-09 02:46:03 +0200
committerroot <root@localhost.(none)>2006-11-09 02:46:03 +0200
commit215ddf4bdb36e53af313d662958bb94c30d91e48 (patch)
treeeae6d65a3260a624ff116b50e9d4b27458db18c3 /org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb
parent8f99c2bd9da612062f74ea4b0e7d9b98a5821e59 (diff)
parentac111932d7503334362c08897599f25b8c82379c (diff)
Merge branch 'master' of http://familiar.handhelds.org/git/familiar-build into h6300_apm_fix
Diffstat (limited to 'org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb')
-rw-r--r--org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb b/org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb
new file mode 100644
index 0000000..35a114d
--- /dev/null
+++ b/org.handhelds.familiar/packages/swt/swt-gtk_3.1.bb
@@ -0,0 +1,37 @@
+# swt-gtk OE build file
+# Copyright (C) 2006, Rene Wagner. All Rights Reserved
+# Released under the MIT license (see org.handhelds.familiar/COPYING.MIT)
+
+DESCRIPTION = "The Standard Widget Toolkit"
+HOMEPAGE = "http://www.eclipse.org/swt/"
+LICENSE = "CPL/MPL/LGPL"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "libs"
+
+DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/s/swt-gtk/swt-gtk_3.1.orig.tar.gz \
+ ${DEBIAN_MIRROR}/main/s/swt-gtk/swt-gtk_3.1-2.diff.gz;patch=1 \
+ file://no-native-no-files-cruft.patch;patch=1"
+
+inherit autotools java
+
+S = "${WORKDIR}/swt-gtk-${PV}.orig"
+
+FILES_${PN} += "${datadir}/java ${libdir}/*.so"
+
+do_compile () {
+ oe_runmake
+ oe_runmake -f make_linux.mak make_swt make_atk
+}
+
+do_install () {
+ install -d ${D}${datadir}/java
+ install -m 0644 swt-gtk-*.jar ${D}${datadir}/java/
+ (cd ${D}${datadir}/java/ && ln -sf swt-gtk-*.jar swt.jar)
+
+ for i in *.so; do
+ install -D -m 0755 $i ${D}${libdir}/$i
+ done
+}