/[gentoo-x86]/dev-java/invokebinder/invokebinder-1.2.ebuild
Gentoo

Contents of /dev-java/invokebinder/invokebinder-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Apr 2 18:10:15 2015 UTC (4 years, 9 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
whitespace

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --ignore-arches, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/invokebinder/invokebinder-1.2.ebuild,v 1.3 2014/08/10 20:15:16 slyfox Exp $
4
5 EAPI="5"
6
7 JAVA_PKG_IUSE="doc source test"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="Provide a friendly DSL for binding method handles"
12 SRC_URI="http://github.com/headius/invokebinder/archive/invokebinder-1.2.tar.gz"
13 HOMEPAGE="https://github.com/headius/invokebinder"
14
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 LICENSE="Apache-2.0"
18
19 S="${WORKDIR}/${PN}-${P}"
20
21 DEPEND=">=virtual/jdk-1.7"
22 RDEPEND=">=virtual/jre-1.7"
23
24 # Tests fail, three similar errors where a string is inconvertible to int.
25 # Bug #472306.
26 RESTRICT="test"
27
28 java_prepare() {
29 cp "${FILESDIR}"/${P}-build.xml build.xml || die
30 }
31
32 src_test() {
33 java-pkg-2_src_test
34 }
35
36 src_install() {
37 java-pkg_newjar target/${P}.jar ${PN}.jar
38
39 use source && java-pkg_dosrc src/main/java/com
40
41 if use doc ; then
42 java-pkg_dojavadoc target/site/apidocs
43
44 dodoc README.markdown
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20