jgoodies-looks-2.6.0.ebuild 779 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  4. JAVA_PKG_IUSE="doc source"
  5. inherit java-pkg-2 java-pkg-simple
  6. MY_PN="looks"
  7. MY_PV=${PV//./_}
  8. MY_P="${PN}-${MY_PV}"
  9. DESCRIPTION="JGoodies Looks Library"
  10. HOMEPAGE="http://www.jgoodies.com/"
  11. SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
  12. LICENSE="BSD"
  13. SLOT="2.6"
  14. KEYWORDS="amd64 x86"
  15. IUSE=""
  16. CDEPEND="dev-java/jgoodies-common:1.8"
  17. RDEPEND="
  18. ${CDEPEND}
  19. >=virtual/jre-1.6"
  20. DEPEND="
  21. ${CDEPEND}
  22. app-arch/unzip
  23. >=virtual/jdk-1.6"
  24. S="${WORKDIR}"/${P}
  25. JAVA_SRC_DIR="src"
  26. JAVA_GENTOO_CLASSPATH="jgoodies-common-1.8"
  27. java_prepare() {
  28. mkdir src || die
  29. unzip ${P}-sources.jar -d src || die
  30. rm "${S}"/pom.xml "${S}"/*.jar || die
  31. }