diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-01-28 22:27:00 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-01-28 22:27:00 +0000 |
commit | 591b1261f4ebfa9fcb7bea31845b6bb8843c913f (patch) | |
tree | 4cc927581d3d76dbb756c521a7afb6c566c091d3 /packages/libmatthew | |
parent | 9dd959cd1e4e4f00f4778d0432638f4c38a29997 (diff) |
dbus-java: Added recipe.
libmatthew: Added recipe (dependency for dbus-java).
Diffstat (limited to 'packages/libmatthew')
-rw-r--r-- | packages/libmatthew/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/libmatthew/libmatthew_0.5.bb | 54 |
2 files changed, 54 insertions, 0 deletions
diff --git a/packages/libmatthew/.mtn2git_empty b/packages/libmatthew/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libmatthew/.mtn2git_empty diff --git a/packages/libmatthew/libmatthew_0.5.bb b/packages/libmatthew/libmatthew_0.5.bb new file mode 100644 index 0000000000..23ee04ed26 --- /dev/null +++ b/packages/libmatthew/libmatthew_0.5.bb @@ -0,0 +1,54 @@ +DESCRIPTION = "Unix socket, debug and hexdump libraries" +LICENSE = "LGPL" +SECTION = "libs" +MAINTAINER = "Fabian Koester, tarent GmbH Bonn <f.koester@tarent.de>" +HOMEPAGE = "http://jalimo.org" +AUTHOR = "Matthew Johnson <web@matthew.ath.cx>" + +inherit java-library + +DEPENDS = "classpath-native classpath" + +SRC_URI = "http://www.matthew.ath.cx/projects/java/libmatthew-java-${PV}.tar.gz" + +S = "${WORKDIR}/libmatthew-java-${PV}" + +do_compile() { + oe_runmake \ + JCFLAGS="-source 1.5" \ + JAVAC="javac" \ + JAR="fastjar" \ + JAVAH="gjavah" \ + INCLUDES="-I${STAGING_INCDIR}/classpath" \ + LDFLAGS="-fpic -shared -lc ${LDFLAGS}" \ + LD="${CC}" +} + +do_stage() { + oe_jarinstall -s cgi-0.5.jar cgi.jar + oe_jarinstall -s debug-disable-1.1.jar debug-disable.jar + oe_jarinstall -s debug-enable-1.1.jar debug-enable.jar + oe_jarinstall -s hexdump-0.1.jar hexdump.jar + oe_jarinstall -s io-0.1.jar io.jar + oe_jarinstall -s unix-0.2.jar unix.jar +} + +do_install() { + oe_jarinstall cgi-0.5.jar cgi.jar + oe_jarinstall debug-disable-1.1.jar debug-disable.jar + oe_jarinstall debug-enable-1.1.jar debug-enable.jar + oe_jarinstall hexdump-0.1.jar hexdump.jar + oe_jarinstall io-0.1.jar io.jar + oe_jarinstall unix-0.2.jar unix.jar + + oe_libinstall -so libcgi-java ${D}${libdir}/jni + oe_libinstall -so libunix-java ${D}${libdir}/jni +} + +PACKAGES += "${PN}-jni ${PN}-jni-dbg" + +RDEPENDS_${JPN} = "${PN}-jni" + +FILES_${PN}-jni = "${libdir}/jni/lib*.so" +FILES_${PN}-jni-dbg = "${libdir}/jni/.debug/lib*.so" + |