diff options
-rw-r--r-- | packages/apr/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/apr/apr-util_1.1.2.bb | 26 | ||||
-rw-r--r-- | packages/apr/apr_1.1.1.bb | 23 | ||||
-rw-r--r-- | packages/avetanabt/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/avetanabt/avetanabt_svn.bb | 62 | ||||
-rw-r--r-- | packages/classpath/classpath_0.14.bb | 7 | ||||
-rw-r--r-- | packages/classpath/classpath_0.15.bb | 7 | ||||
-rw-r--r-- | packages/classpath/classpath_0.17.bb | 7 | ||||
-rw-r--r-- | packages/kaffe/kaffe.inc | 2 | ||||
-rw-r--r-- | packages/kaffe/kaffeh-native_1.1.5.bb | 5 | ||||
-rw-r--r-- | packages/kaffe/kaffeh-native_cvs.bb | 6 |
11 files changed, 139 insertions, 6 deletions
diff --git a/packages/apr/.mtn2git_empty b/packages/apr/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/apr/.mtn2git_empty diff --git a/packages/apr/apr-util_1.1.2.bb b/packages/apr/apr-util_1.1.2.bb new file mode 100644 index 0000000000..35cc787e6c --- /dev/null +++ b/packages/apr/apr-util_1.1.2.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Apache Portable Runtime (APR) companion library" +SECTION = "libs" +DEPENDS = "apr expat gdbm" +MAINTAINER = "Mustafa Yuecel <yuecelm@ee.ethz.ch>" +LICENSE = "Apache License, Version 2.0" + +PR = "r0" + +# apache mirrors? +SRC_URI = "http://mirror.switch.ch/mirror/apache/dist/apr/${P}.tar.gz" + +EXTRA_OECONF = "--with-apr=${STAGING_BINDIR} --with-dbm=gdbm --with-gdbm=${STAGING_DIR}/${HOST_SYS} --with-expat=${STAGING_DIR}/${HOST_SYS}" + +inherit autotools lib_package binconfig + +do_configure() { + + oe_runconf + +} + +do_stage() { + + oe_libinstall -a -so -C .libs libaprutil-1 ${STAGING_LIBDIR} + +} diff --git a/packages/apr/apr_1.1.1.bb b/packages/apr/apr_1.1.1.bb new file mode 100644 index 0000000000..74dbe5185a --- /dev/null +++ b/packages/apr/apr_1.1.1.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Apache Portable Runtime (APR) library" +SECTION = "libs" +MAINTAINER = "Mustafa Yuecel <yuecelm@ee.ethz.ch>" +LICENSE = "Apache License, Version 2.0" + +PR = "r0" + +# apache mirrors? +SRC_URI = "http://mirror.switch.ch/mirror/apache/dist/apr/${P}.tar.bz2" + +inherit autotools lib_package binconfig + +do_configure() { + + oe_runconf + +} + +do_stage() { + + oe_libinstall -a -so -C .libs libapr-1 ${STAGING_LIBDIR} + +} diff --git a/packages/avetanabt/.mtn2git_empty b/packages/avetanabt/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/avetanabt/.mtn2git_empty diff --git a/packages/avetanabt/avetanabt_svn.bb b/packages/avetanabt/avetanabt_svn.bb new file mode 100644 index 0000000000..08adcbbdfd --- /dev/null +++ b/packages/avetanabt/avetanabt_svn.bb @@ -0,0 +1,62 @@ +DESCRIPTION = "avetanaBT: Bluetooth API implementation for Java (JSR-82)" +SECTION = "devel" +DEPENDS = "findutils-native jikes-native kaffeh-native fastjar-native bluez-libs classpath" +#RDEPENDS = "bluez-utils" +# Matthias Ringwald <mringwal@inf.ethz.ch> was helping me in the first phase. Thanks. +MAINTAINER = "Mustafa Yuecel <yuecelm@ee.ethz.ch>" +LICENSE = "GPL" +HOMEPAGE = "http://sourceforge.net/projects/avetanabt/" + +PV = "0.0cvs${CVSDATE}" +PR = "r0" + +SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/avetanabt;module=avetanabt" + +S = "${WORKDIR}/avetanabt" + +PACKAGES = "${PN}" +FILES_${PN} = "${libdir}/libavetanaBT.so ${datadir}/avetanabt/avetanaBT.jar" + +do_compile() { + + # doing nearly the same as in Makefile written... + + mkdir -p build + rm -fr build/* + + # javac -> jikes + ${STAGING_BINDIR}/find {de,javax,com} -iname *.java > file.list + ${STAGING_BINDIR}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list + + # jar -> fastjar + cd build + ${STAGING_BINDIR}/fastjar -cf ../avetanaBT.jar de javax com + cd .. + + # JNI generated header file - de_avetana_bluetooth_stack_BlueZ.h + # javah -> kaffeh + cd c + ${STAGING_BINDIR}/kaffeh -jni -classpath ../avetanaBT.jar:${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar de.avetana.bluetooth.stack.BlueZ + + # Native language (C) library - libavetanaBT.so + ${CXX} ${CXXFLAGS} -shared -lbluetooth -I${STAGING_INCDIR}/classpath BlueZ.cpp -o ../libavetanaBT.so ${LDFLAGS} + cd .. + +} + +do_stage() { + + install -d ${STAGING_DIR}/${BUILD_SYS}/share/avetanabt + install avetanaBT.jar ${STAGING_DIR}/${BUILD_SYS}/share/avetanabt/ + +} + +do_install() { + + install -d ${D}${libdir} + install -m 0755 libavetanaBT.so ${D}${libdir}/ + + install -d ${D}${datadir}/avetanabt + install avetanaBT.jar ${D}${datadir}/avetanabt/ + +} diff --git a/packages/classpath/classpath_0.14.bb b/packages/classpath/classpath_0.14.bb index ec29ad9cb8..c1c266c994 100644 --- a/packages/classpath/classpath_0.14.bb +++ b/packages/classpath/classpath_0.14.bb @@ -4,7 +4,7 @@ LICENSE = "Classpath" PRIORITY = "optional" MAINTAINER = "Rene Wagner <rw@handhelds.org>" SECTION = "libs" -PR = "r0" +PR = "r1" DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst jikes-native zip-native" RDEPENDS_${PN} = "${PN}-common (${PV})" @@ -22,6 +22,11 @@ FILES_${PN} = "${libdir}/${PN}" FILES_${PN}-common = "${datadir}/${PN}/glibj.zip" FILES_${PN}-examples = "${datadir}/${PN}/examples" +do_stage() { + install -d ${STAGING_INCDIR}/classpath + install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/ +} + do_install() { autotools_do_install mv ${D}${libdir}/security ${D}${libdir}/${PN} diff --git a/packages/classpath/classpath_0.15.bb b/packages/classpath/classpath_0.15.bb index ec29ad9cb8..c1c266c994 100644 --- a/packages/classpath/classpath_0.15.bb +++ b/packages/classpath/classpath_0.15.bb @@ -4,7 +4,7 @@ LICENSE = "Classpath" PRIORITY = "optional" MAINTAINER = "Rene Wagner <rw@handhelds.org>" SECTION = "libs" -PR = "r0" +PR = "r1" DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst jikes-native zip-native" RDEPENDS_${PN} = "${PN}-common (${PV})" @@ -22,6 +22,11 @@ FILES_${PN} = "${libdir}/${PN}" FILES_${PN}-common = "${datadir}/${PN}/glibj.zip" FILES_${PN}-examples = "${datadir}/${PN}/examples" +do_stage() { + install -d ${STAGING_INCDIR}/classpath + install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/ +} + do_install() { autotools_do_install mv ${D}${libdir}/security ${D}${libdir}/${PN} diff --git a/packages/classpath/classpath_0.17.bb b/packages/classpath/classpath_0.17.bb index ec29ad9cb8..fb41d7e9d8 100644 --- a/packages/classpath/classpath_0.17.bb +++ b/packages/classpath/classpath_0.17.bb @@ -4,7 +4,7 @@ LICENSE = "Classpath" PRIORITY = "optional" MAINTAINER = "Rene Wagner <rw@handhelds.org>" SECTION = "libs" -PR = "r0" +PR = "r1" DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst jikes-native zip-native" RDEPENDS_${PN} = "${PN}-common (${PV})" @@ -22,6 +22,11 @@ FILES_${PN} = "${libdir}/${PN}" FILES_${PN}-common = "${datadir}/${PN}/glibj.zip" FILES_${PN}-examples = "${datadir}/${PN}/examples" +do_stage() { + install -d ${STAGING_INCDIR}/classpath + install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/ +} + do_install() { autotools_do_install mv ${D}${libdir}/security ${D}${libdir}/${PN} diff --git a/packages/kaffe/kaffe.inc b/packages/kaffe/kaffe.inc index 0cede21082..ea308f1043 100644 --- a/packages/kaffe/kaffe.inc +++ b/packages/kaffe/kaffe.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Kaffe is a clean room implementation of the Java Virtual Machine" HOMEPAGE = "http://www.kaffe.org/" LICENSE = "GPL LGPL W3C Classpath BSD" -DEPENDS = "jikes-native fastjar-native libffi" +DEPENDS = "jikes-native fastjar-native libffi zip-native" SRC_URI += "file://disable-automake-checks.patch;patch=1" diff --git a/packages/kaffe/kaffeh-native_1.1.5.bb b/packages/kaffe/kaffeh-native_1.1.5.bb index dccc7559f4..569301f3f7 100644 --- a/packages/kaffe/kaffeh-native_1.1.5.bb +++ b/packages/kaffe/kaffeh-native_1.1.5.bb @@ -1,6 +1,6 @@ SRC_URI = "http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/kaffe-${PV}.tar.gz" S = "${WORKDIR}/kaffe-${PV}" -PR = "r2" +PR = "r3" include kaffe.inc @@ -22,4 +22,7 @@ EXTRA_OECONF = "--disable-alsatest \ do_stage() { install -m 0755 kaffe/kaffeh/kaffeh ${STAGING_BINDIR}/ + + install -d ${STAGING_DATADIR}/kaffeh + install -m 0755 libraries/javalib/*.jar ${STAGING_DATADIR}/kaffeh/ } diff --git a/packages/kaffe/kaffeh-native_cvs.bb b/packages/kaffe/kaffeh-native_cvs.bb index 3a67db2759..2b10385e82 100644 --- a/packages/kaffe/kaffeh-native_cvs.bb +++ b/packages/kaffe/kaffeh-native_cvs.bb @@ -1,6 +1,6 @@ PV = "1.1.5+cvs${CVSDATE}" DEFAULT_PREFERENCE = "-1" -PR = "r2" +PR = "r3" SRC_URI = "cvs://readonly:readonly@cvs.kaffe.org/cvs/kaffe;module=kaffe" S = "${WORKDIR}/kaffe" @@ -25,4 +25,8 @@ EXTRA_OECONF = "--disable-alsatest \ do_stage() { install -m 0755 kaffe/kaffeh/kaffeh ${STAGING_BINDIR}/ + + install -d ${STAGING_DATADIR}/kaffeh + install -m 0755 libraries/javalib/*.jar ${STAGING_DATADIR}/kaffeh/ } + |