summaryrefslogtreecommitdiff
path: root/packages/avetanabt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/avetanabt')
-rw-r--r--packages/avetanabt/avetanabt_cvs.bb14
-rw-r--r--packages/avetanabt/files/.mtn2git_empty0
-rw-r--r--packages/avetanabt/files/maxConnectedDevices.patch11
3 files changed, 6 insertions, 19 deletions
diff --git a/packages/avetanabt/avetanabt_cvs.bb b/packages/avetanabt/avetanabt_cvs.bb
index baf2b70a8c..7f6bea2a20 100644
--- a/packages/avetanabt/avetanabt_cvs.bb
+++ b/packages/avetanabt/avetanabt_cvs.bb
@@ -1,7 +1,6 @@
DESCRIPTION = "avetanaBT: Bluetooth API implementation for Java (JSR-82)"
SECTION = "devel"
DEPENDS = "findutils-native jikes-native kaffeh-native fastjar-native bluez-libs classpath"
-# 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/"
@@ -9,8 +8,7 @@ HOMEPAGE = "http://sourceforge.net/projects/avetanabt/"
PV = "0.0+cvs${SRCDATE}"
PR = "r3"
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/avetanabt;module=avetanabt \
- file://maxConnectedDevices.patch;patch=1"
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/avetanabt;module=avetanabt"
S = "${WORKDIR}/avetanabt"
@@ -22,8 +20,8 @@ do_compile() {
# doing nearly the same as in Makefile written...
# clean build directory
- ${STAGING_BINDIR}/mkdir -p build
- ${STAGING_BINDIR}/rm -fr build/*
+ mkdir -p build
+ rm -fr build/*
# generate classes
# javac -> jikes
@@ -31,9 +29,9 @@ do_compile() {
${STAGING_BINDIR}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list
# create own version.xml (add version information available at runtime)
- ${STAGING_BINDIR}/head -n 4 version.xml >> build/version.xml
- ${STAGING_BINDIR}/echo " <build value=\"cvs${SRCDATE}\" date=\"${SRCDATE}\" time=\"${@time.strftime('%H:%M',time.gmtime())}\"/>" >> build/version.xml
- ${STAGING_BINDIR}/tail -n 3 version.xml >> build/version.xml
+ 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
diff --git a/packages/avetanabt/files/.mtn2git_empty b/packages/avetanabt/files/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/avetanabt/files/.mtn2git_empty
+++ /dev/null
diff --git a/packages/avetanabt/files/maxConnectedDevices.patch b/packages/avetanabt/files/maxConnectedDevices.patch
deleted file mode 100644
index fd553818da..0000000000
--- a/packages/avetanabt/files/maxConnectedDevices.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- avetanabt/c/BlueZ.cpp.old 2005-09-11 16:47:49.150357416 +0200
-+++ avetanabt/c/BlueZ.cpp 2005-09-11 16:57:47.024466736 +0200
-@@ -664,7 +664,7 @@
- */
- JNIEXPORT jint JNICALL Java_de_avetana_bluetooth_stack_BlueZ_getMaxConnectedDevices
- (JNIEnv *env, jclass obj) {
-- return 1;
-+ return 7;
- }
-
- /**