diff options
author | Matthew Brewer <tomboy64@sina.cn> | 2016-05-31 15:40:08 +0200 |
---|---|---|
committer | Matthew Brewer <tomboy64@sina.cn> | 2016-05-31 16:06:07 +0200 |
commit | 41e11899654391ff547102dd2d43ec46d6f9241d (patch) | |
tree | 882bde01550012131d87b678a630a60f17d895ec /dev-java/jsemver | |
parent | add jsemver and jcpp (diff) | |
download | tbc-41e11899654391ff547102dd2d43ec46d6f9241d.tar.gz tbc-41e11899654391ff547102dd2d43ec46d6f9241d.tar.bz2 tbc-41e11899654391ff547102dd2d43ec46d6f9241d.zip |
update jcpp and jsemver
Diffstat (limited to 'dev-java/jsemver')
-rw-r--r-- | dev-java/jsemver/jsemver-0.9.0.ebuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-java/jsemver/jsemver-0.9.0.ebuild b/dev-java/jsemver/jsemver-0.9.0.ebuild index a6af20c..cb5a3ef 100644 --- a/dev-java/jsemver/jsemver-0.9.0.ebuild +++ b/dev-java/jsemver/jsemver-0.9.0.ebuild @@ -11,27 +11,21 @@ inherit java-pkg-2 java-pkg-simple DESCRIPTION="Java implementation of the Semantic Versioning Specification" HOMEPAGE="https://github.com/zafarkhaja/jsemver" SRC_URI="https://github.com/zafarkhaja/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" - IUSE="" -COMMON_DEP="dev-java/junit:4" - -RDEPEND=">=virtual/jre-1.5 +COMMON_DEP="" +RDEPEND=">=virtual/jre-1.7 ${COMMON_DEP}" -DEPEND=">=virtual/jdk-1.5 +DEPEND=">=virtual/jdk-1.7 ${COMMON_DEP}" -EANT_BUILD_TARGET="" -EANT_DOC_TARGET="" - -JAVA_GENTOO_CLASSPATH="junit-4" +S="${WORKDIR}/${P}" +JAVA_SRC_DIR="src/main/java" src_install() { - java-pkg_dojar "${PN}.jar" - use doc && java-pkg_dojavadoc target/api - use source && java-pkg_dosrc "${P}"/src/{main,test}/java/* + java-pkg-simple_src_install + dodoc README.md } |