diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-10-07 21:37:09 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-10-07 21:37:09 +0000 |
commit | 376502fa8b079d620430a9671ad22169ba85d6db (patch) | |
tree | 54001ce57cf5c99dc718f07248e7a023e59c2af2 /packages | |
parent | 3edc90bafa0912873ae40910f7481aec4737dfd8 (diff) |
miglayout 3.0.3: New recipe.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/miglayout/miglayout_3.0.3.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/miglayout/miglayout_3.0.3.bb b/packages/miglayout/miglayout_3.0.3.bb new file mode 100644 index 0000000000..2450a7e01f --- /dev/null +++ b/packages/miglayout/miglayout_3.0.3.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Flexible layout classes for Swing and SWT" +LICENSE = "BSD" + +AUTHOR = "Mikael Grev" +HOMEPAGE = "http://www.migcalendar.com/miglayout" + +SRC_URI = "http://www.migcalendar.com/${PN}/versions/${P}.zip" + +S = "${WORKDIR}" + +inherit java-library + +DEPENDS = "unzip-native fastjar-native classpath swt3.4-gtk" + +do_unpackpost() { + find -name "*.jar" -exec rm {} \; + + mkdir sources + unzip miglayout-src.zip -d sources +} + +addtask unpackpost after do_unpack before do_patch + +do_compile() { + oe_makeclasspath cp -s swt + + javac \ + -source 5.0 -sourcepath sources -cp $cp \ + -d build \ + `find sources -name "*.java" -and -not -wholename "*demo*"` \ + + fastjar -C build -c -f ${JARFILENAME} . +} + |