summaryrefslogtreecommitdiff
path: root/classes/java-library.bbclass
blob: 06c3170544030a9d5fd75286c1f149d4ec5afef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Inherit this bbclass for each java recipe that builds a Java library (jar file[s]).
#
# It automatically adds important build dependencies, defines JPN (Java Package Name)
# a package named ${JPN} whose contents are those of ${datadir}/java (the jar location).
#
# The JPN is basically lib${PN}-java but takes care of the fact that ${PN} already
# starts with "lib" and/or ends with "-java". In case the "lib" prefix is part of
# your package's normal name (e.g. liberator) the guessing is wrong and you have
# to set JPN manually!

inherit java

# use java_stage for native packages
JAVA_NATIVE_STAGE_INSTALL = "1"

def java_package_name(d):
  import bb;

  pre=""
  post=""

  pn = bb.data.getVar('PN', d, 1)
  if not pn.startswith("lib"):
    pre='lib'

  if not pn.endswith("-java"):
    post='-java'

  return pre + pn + post

JPN ?= "${@java_package_name(d)}"

DEPENDS_prepend = "virtual/javac-native fastjar-native "

PACKAGES = "${JPN}"

PACKAGE_ARCH_${JPN} = "all"

FILES_${JPN} = "${datadir_java}"

# File name of the libraries' main Jar file
JARFILENAME = "${BP}.jar"

# Space-separated list of alternative file names.
ALTJARFILENAMES = "${BPN}.jar"

# Java "source" distributions often contain precompiled things
# we want to delete first.
do_removebinaries() {
  find ${WORKDIR} -name "*.jar" -exec rm {} \;
  find ${WORKDIR} -name "*.class" -exec rm {} \;
}

addtask removebinaries after do_unpack before do_patch

java_install() {
  oe_jarinstall ${JARFILENAME} ${ALTJARFILENAMES}
}

do_install() {
  java_install
}

java_stage() {
  oe_jarinstall -s ${JARFILENAME} ${ALTJARFILENAMES}
}

do_stage() {
  java_stage
}
r> -rw-r--r--recipes/aceofpenguins/aceofpenguins-launcher_0.4.bb21
-rw-r--r--recipes/aceofpenguins/aceofpenguins_1.2.bb18
-rw-r--r--recipes/aceofpenguins/files/gcc4.patch23
-rw-r--r--recipes/acpid/acpid-1.0.10/event.c.diff43
-rw-r--r--recipes/acpid/acpid-1.0.10/gcc44.diff71
-rw-r--r--recipes/acpid/acpid-1.0.10/netlink.diff2964
-rw-r--r--recipes/acpid/acpid/event.c.diff43
-rw-r--r--recipes/acpid/acpid/fixfd.diff12
-rw-r--r--recipes/acpid/acpid/netlink.diff2797
-rw-r--r--recipes/acpid/acpid_1.0.10.bb7
-rw-r--r--recipes/acpid/acpid_1.0.8.bb6
-rw-r--r--recipes/addons/devshell.bb3
-rw-r--r--recipes/agg/agg_2.5.bb6
-rw-r--r--recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch12
-rw-r--r--recipes/aircrack/aircrack-ng_0.9.3.bb5
-rw-r--r--recipes/aircrack/aircrack-ng_1.0-svn.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.11.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.13.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.14.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.15.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.17.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.18.bb2
-rw-r--r--recipes/alsa/alsa-lib_1.0.19.bb48
-rw-r--r--recipes/alsa/alsa-lib_1.0.20.bb49
-rw-r--r--recipes/alsa/alsa-plugins_1.0.19.bb20
-rw-r--r--recipes/alsa/alsa-plugins_1.0.20.bb22
-rw-r--r--recipes/alsa/alsa-scenario_0.2.bb14
-rw-r--r--recipes/alsa/alsa-scenario_git.bb6
-rw-r--r--recipes/alsa/alsa-state.bb15
-rw-r--r--recipes/alsa/alsa-state/angstrom/asound.conf2
-rw-r--r--recipes/alsa/alsa-utils_1.0.13.bb2
-rw-r--r--recipes/alsa/alsa-utils_1.0.18.bb3
-rw-r--r--recipes/alsa/alsa-utils_1.0.19.bb66
-rw-r--r--recipes/alsa/alsa-utils_1.0.20.bb66
-rw-r--r--recipes/alsa/files/alsa-utils-remove-xmlto-1.0.19plus.patch18
-rw-r--r--recipes/angstrom/angstrom-feed-configs.bb4
-rw-r--r--recipes/angstrom/angstrom-gpe-task-base.bb11
-rw-r--r--recipes/angstrom/angstrom-gpe-task-settings.bb3
-rw-r--r--recipes/angstrom/angstrom-led-config.bb2
-rw-r--r--recipes/angstrom/angstrom-led-config/cm-t35/leds2
-rw-r--r--recipes/angstrom/angstrom-led-config/omap3-pandora/leds8
-rw-r--r--recipes/angstrom/angstrom-led-config/sheevaplug/leds2
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb38
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/dsplink.cmd4
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/pico.cmd3
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/touchbook-vrfb.cmd4
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/touchbook.cmd4
-rw-r--r--recipes/angstrom/angstrom-x11-base-depends.bb3
-rw-r--r--recipes/angstrom/e-wm-config-angstrom.bb47
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/e.src903
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/icon.png (renamed from recipes/angstrom/e-wm-config-angstrom/icon.png)bin4645 -> 4645 bytes-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.battery.src7
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.cpufreq.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.dropshadow.src7
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.fileman.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.fileman.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.gadman.src9
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.ibar.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.ibar.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.ibox.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.ibox.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.illume.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.mixer.src13
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.pager.src15
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.places.src25
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/module.temperature.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.temperature.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-touchscreen/profile.desktop5
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/e.src2154
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/icon.pngbin0 -> 4645 bytes-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.battery.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.battery.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.cpufreq.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.dropshadow.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.dropshadow.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.fileman.src28
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.ibar.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.ibox.src20
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.pager.src (renamed from recipes/angstrom/e-wm-config-angstrom/module.pager.src)0
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.places.src25
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/module.temperature.src13
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom-widescreen/profile.desktop5
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/e.src2124
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/icon.pngbin0 -> 4645 bytes-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.battery.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.cpufreq.src6
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.dropshadow.src7
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.fileman.src28
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.ibar.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.ibox.src20
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.pager.src15
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.places.src24
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/module.temperature.src13
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/configs/angstrom/profile.desktop5
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/e.src2104
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/module.cpufreq.src4
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/module.places.src18
-rw-r--r--recipes/angstrom/e-wm-config-angstrom/profile.desktop5
-rw-r--r--recipes/angstrom/exquisite-theme-angstrom.bb35
-rwxr-xr-xrecipes/angstrom/exquisite-theme-angstrom/angstrom/build.sh2
-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bar.pngbin0 -> 1841 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-barglow.pngbin0 -> 814 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bglight.pngbin0 -> 4915 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo-ang.pngbin0 -> 13113 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo.pngbin0 -> 8221 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow-ang.pngbin0 -> 6249 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow.pngbin0 -> 6058 bytes-rw-r--r--recipes/angstrom/exquisite-theme-angstrom/angstrom/exquisite-ang.edc309
-rw-r--r--recipes/anki/anki.inc2
-rw-r--r--recipes/anki/anki_0.4.3.bb2
-rw-r--r--recipes/anki/libanki_0.4.3.bb2
-rw-r--r--recipes/ant/ant-native_1.7.1.bb64
-rwxr-xr-xrecipes/ant/files/ant10
-rw-r--r--recipes/antlr/antlr-native_2.7.7.bb2
-rw-r--r--recipes/apache2/apache2-2.2.14/apr-sockets-patch10
-rw-r--r--recipes/apache2/apache2-2.2.14/apr.h.in.patch13
-rw-r--r--recipes/apache2/apache2-2.2.14/configure-patch71
-rw-r--r--recipes/apache2/apache2-2.2.14/configure.in.patch27
-rw-r--r--recipes/apache2/apache2-2.2.14/dftables-makefile-patch10
-rw-r--r--recipes/apache2/apache2-2.2.14/server-makefile-patch11
-rw-r--r--recipes/apache2/apache2-native_2.2.14.bb39
-rw-r--r--recipes/apache2/apache2_2.2.14.bb114
-rw-r--r--recipes/apt/apt-0.7.20.2/no-doxygen.patch12
-rw-r--r--recipes/apt/apt-0.7.20.2/no-ko-translation.patch9
-rw-r--r--recipes/apt/apt-0.7.20.2/use-host.patch44
-rw-r--r--recipes/apt/apt-package.inc7
-rw-r--r--recipes/apt/apt.inc