diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/avetanabt/avetanabt_20060413.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/avetanabt/avetanabt_20060413.bb')
-rw-r--r-- | packages/avetanabt/avetanabt_20060413.bb | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/packages/avetanabt/avetanabt_20060413.bb b/packages/avetanabt/avetanabt_20060413.bb deleted file mode 100644 index cee5fc0849..0000000000 --- a/packages/avetanabt/avetanabt_20060413.bb +++ /dev/null @@ -1,60 +0,0 @@ -DESCRIPTION = "avetanaBT: Bluetooth API implementation for Java (JSR-82)" -SECTION = "devel" -DEPENDS = "findutils-native virtual/javac-native kaffeh-native fastjar-native bluez-libs classpath" -LICENSE = "GPL" -HOMEPAGE = "http://sourceforge.net/projects/avetanabt/" - -PR = "r0" - -SRC_URI = "${SOURCEFORGE_MIRROR}/avetanabt/avetanaBluetooth-${PV}.tgz" - -S = "${WORKDIR}/avetanabt" - -FILES_${PN} = "${libdir}/libavetanaBT.so ${datadir}/avetanabt/avetanaBT.jar" - -do_compile() { - - # doing nearly the same as in Makefile written... - - # clean build directory - mkdir -p build - rm -fr build/* - - # generate classes - ${STAGING_BINDIR_NATIVE}/find {de,javax,com} -iname *.java > file.list - ${STAGING_BINDIR_NATIVE}/javac -verbose -bootclasspath ${STAGING_DATADIR_NATIVE}/kaffeh/rt.jar -d build @file.list - - # create own version.xml (add version information available at runtime) - head -n 4 version.xml >> build/version.xml - echo " <build value=\"cvs${SRCDATE}\" date=\"${SRCDATE}\" time=\"${@time.strftime('%H:%M',time.gmtime())}\"/>" >> build/version.xml - tail -n 3 version.xml >> build/version.xml - - # move classes into jar archive - # jar -> fastjar - ${STAGING_BINDIR_NATIVE}/fastjar -v -cf avetanaBT.jar -C build de -C build javax -C build com -C build version.xml - - # JNI generated header file - de_avetana_bluetooth_stack_BlueZ.h - # javah -> kaffeh - ${STAGING_BINDIR_NATIVE}/kaffeh -jni -classpath avetanaBT.jar:${STAGING_DATADIR_NATIVE}/kaffeh/rt.jar -d c de.avetana.bluetooth.stack.BlueZ - - # Native language (C) library - libavetanaBT.so - ${CXX} ${CXXFLAGS} -shared -lbluetooth -I${STAGING_INCDIR}/classpath c/BlueZ.cpp -o libavetanaBT.so ${LDFLAGS} - -} - -do_stage() { - - install -d ${STAGING_DATADIR_NATIVE}/avetanabt - install avetanaBT.jar ${STAGING_DATADIR_NATIVE}/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/ - -} |