summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-05-15 16:14:40 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-05-15 16:14:40 +0000
commite29bd968bd8f6eb6eca1b986d6d714d27c171afd (patch)
tree89bc52fd6b15665428e1d83b1fa7b2e0016b5a02
parent553272e336a5fbf721c1cb7f4f7d7789d91c93c4 (diff)
libmatthew 0.5: Recipe cleanup.
dbus-java 2.3: Recipe cleanup, fixed do_stage function name.
-rw-r--r--packages/dbus-java/dbus-java_2.3.bb24
-rw-r--r--packages/libmatthew/libmatthew_0.5.bb14
2 files changed, 20 insertions, 18 deletions
diff --git a/packages/dbus-java/dbus-java_2.3.bb b/packages/dbus-java/dbus-java_2.3.bb
index 1c30fc7fe4..71181d961d 100644
--- a/packages/dbus-java/dbus-java_2.3.bb
+++ b/packages/dbus-java/dbus-java_2.3.bb
@@ -4,10 +4,10 @@ DESCRIPTION_dbus-java-bin = "${DESCRIPTION} (Binaries)"
LICENSE = "GPLv2 AFL"
SECTION = "libs"
-HOMEPAGE = "http://jalimo.org"
+HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java"
AUTHOR = "Matthew Johnson <dbus@matthew.ath.cx>"
-PR = "r2"
+PR = "r3"
inherit java-library
@@ -15,7 +15,7 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus-java/dbus-java-${PV}.tar.gz
S = "${WORKDIR}/dbus-java-${PV}"
-DEPENDS = "libmatthew docbook-utils-native docbook-sgml-dtd-4.1-native"
+DEPENDS = "libmatthew docbook-utils-native docbook-sgml-dtd-4.1-native fastjar-native"
RSUGGESTS_libdbus-java = "libmatthew-java dbus"
RDEPENDS_dbus-java-viewer = "java2-runtime libmatthew-java ${JPN}"
RDEPENDS_dbus-java-bin = "java2-runtime libmatthew-java ${JPN}"
@@ -25,8 +25,8 @@ do_compile () {
oe_runmake \
JCFLAGS="-source 1.5" \
JAVAC="javac" \
- JARPREFIX="${STAGING_DATADIR}/java" \
- JAVAUNIXJARDIR="${STAGING_DATADIR}/java" \
+ JARPREFIX="${STAGING_DATADIR_JAVA}" \
+ JAVAUNIXJARDIR="${STAGING_DATADIR_JAVA}" \
CLASSPATH="${S}/classes" \
JAR="fastjar" \
.binclasses
@@ -34,8 +34,8 @@ do_compile () {
oe_runmake \
JCFLAGS="-source 1.5" \
JAVAC="javac" \
- JARPREFIX="${STAGING_DATADIR}/java" \
- JAVAUNIXJARDIR="${STAGING_DATADIR}/java" \
+ JARPREFIX="${STAGING_DATADIR_JAVA}" \
+ JAVAUNIXJARDIR="${STAGING_DATADIR_JAVA}" \
CLASSPATH="${S}/classes" \
JAR="fastjar" \
all
@@ -47,8 +47,8 @@ do_compile () {
oe_runmake \
JAVAC="oefatal \"No Java compilation expected here.\"" \
JAR="oefatal \"No jar invocation expected here.\"" \
- JARPREFIX=${datadir}/java \
- JAVAUNIXPATH=${datadir}/java \
+ JARPREFIX=${datadir_java} \
+ JAVAUNIXPATH=${datadir_java} \
all
# Trigger generation of all documentation files to prevent this
@@ -56,12 +56,12 @@ do_compile () {
oe_runmake \
JAVAC="oefatal \"No Java compilation expected here.\"" \
JAR="oefatal \"No jar invocation expected here.\"" \
- JARPREFIX=${datadir}/java \
- JAVAUNIXPATH=${datadir}/java \
+ JARPREFIX=${datadir_java} \
+ JAVAUNIXPATH=${datadir_java} \
CreateInterface.1 ListDBus.1 DBusDaemon.1 DBusViewer.1 changelog AUTHORS COPYING README INSTALL DBusCall.1
}
-do_staging () {
+do_stage () {
oe_jarinstall -s ${JPN}-${PV}.jar ${JPN}.jar
}
diff --git a/packages/libmatthew/libmatthew_0.5.bb b/packages/libmatthew/libmatthew_0.5.bb
index 7a1b05478b..fb7ea3cce8 100644
--- a/packages/libmatthew/libmatthew_0.5.bb
+++ b/packages/libmatthew/libmatthew_0.5.bb
@@ -1,12 +1,14 @@
DESCRIPTION = "Unix socket, debug and hexdump libraries"
LICENSE = "LGPL"
SECTION = "libs"
-HOMEPAGE = "http://jalimo.org"
+HOMEPAGE = "http://www.matthew.ath.cx/projects/java"
AUTHOR = "Matthew Johnson <web@matthew.ath.cx>"
+PR = "r1"
+
inherit java-library
-DEPENDS = "classpath-native classpath"
+DEPENDS = "classpath-native classpath fastjar-native"
SRC_URI = "http://www.matthew.ath.cx/projects/java/libmatthew-java-${PV}.tar.gz"
@@ -40,14 +42,14 @@ do_install() {
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
+ 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"
+FILES_${PN}-jni = "${libdir_jni}/lib*.so"
+FILES_${PN}-jni-dbg = "${libdir_jni}/.debug/lib*.so"