<commit_before>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"
# <NAME> <<EMAIL>> was helping me in the first phase. Thanks.
MAINTAINER = "<NAME> <<EMAIL>>"
LICENSE = "GPL"

PV = "0.0cvs${CVSDATE}"
PR = "r0"

SRC_URI = "cvs://<EMAIL>/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<commit_msg>add HOMEPAGE for further informations<commit_after>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"
# <NAME> <<EMAIL>> was helping me in the first phase. Thanks.
MAINTAINER = "<NAME> <<EMAIL>>"
LICENSE = "GPL"
HOMEPAGE = "http://sourceforge.net/projects/avetanabt/"

PV = "0.0cvs${CVSDATE}"
PR = "r0"

SRC_URI = "cvs://<EMAIL>@<EMAIL>.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
{'fraction_non_alphanumeric': 0.1564748201438849, 'fraction_numerical': 0.0044964028776978415, 'mean_word_length': 4.210772833723653, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6120289', 'n_tokens_mistral': 899, 'n_tokens_neox': 873, 'n_words': 193}