summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/java-gnome/libgtk-java_2.6.2.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/java-gnome/libgtk-java_2.6.2.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/java-gnome/libgtk-java_2.6.2.bb')
-rw-r--r--org.handhelds.familiar/packages/java-gnome/libgtk-java_2.6.2.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/java-gnome/libgtk-java_2.6.2.bb b/org.handhelds.familiar/packages/java-gnome/libgtk-java_2.6.2.bb
new file mode 100644
index 0000000..59a5a55
--- /dev/null
+++ b/org.handhelds.familiar/packages/java-gnome/libgtk-java_2.6.2.bb
@@ -0,0 +1,43 @@
+# libgtk-java OE build file
+# Copyright (C) 2006, Rene Wagner. All Rights Reserved
+# Released under the MIT license (see org.handhelds.familiar/COPYING.MIT)
+
+DESCRIPTION = "Gtk+ Java bindings"
+HOMEPAGE = "http://java-gnome.sf.net"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+PR = "r2"
+
+DEPENDS = "glib-2.0 gtk+ libart-lgpl pango"
+RDEPENDS_${PN} = "${PN}-common (>= ${PV})"
+
+inherit gnome java pkgconfig
+
+SRC_URI += "${DEBIAN_MIRROR}/main/libg/${PN}/${PN}_${PV}-1.diff.gz;patch=1 \
+ file://textbuffer.patch;patch=1 \
+ file://pc.patch;patch=1"
+
+EXTRA_OECONF = "--without-javadocs --without-gcj-compile"
+
+PACKAGES =+ "${PN}-common ${PN}-examples"
+
+FILES_${PN} = "${libdir}/lib*so"
+FILES_${PN}-common = "${datadir}/java"
+FILES_${PN}-dev += "${datadir}/${PN}/macros"
+FILES_${PN}-examples = "${datadir}/doc/${PN}/examples"
+
+do_stage () {
+ autotools_stage_all
+
+ install -d ${STAGING_DATADIR}/aclocal/jg-macros
+ for i in macros/*; do
+ install -m 0644 $i ${STAGING_DATADIR}/aclocal/jg-macros/
+ done
+
+ mkdir -p ${STAGING_DATADIR}/java
+ for i in *.jar; do
+ install -m 0644 $i ${STAGING_DATADIR}/java/`basename $i .jar`-${PV}.jar
+ (cd ${STAGING_DATADIR}/java && ln -sf `basename $i .jar`-${PV}.jar $i)
+ done
+}