/[gentoo-x86]/dev-lang/clojure/clojure-1.5.1.ebuild
Gentoo

Contents of /dev-lang/clojure/clojure-1.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed May 1 10:35:27 2013 UTC (6 years, 9 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #466304

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 7194459F)

1 mr_bones_ 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/clojure/clojure-1.5.1.ebuild,v 1.2 2013/04/18 18:38:22 nimiux Exp $
4 mr_bones_ 1.1
5     EAPI=2
6     JAVA_PKG_IUSE="source test"
7    
8     inherit java-pkg-2 java-ant-2
9    
10     DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
11     HOMEPAGE="http://clojure.org/"
12     SRC_URI="https://github.com/clojure/clojure/tarball/${P} -> ${P}.tar.gz"
13    
14     LICENSE="EPL-1.0"
15     SLOT="1.5"
16 ago 1.3 KEYWORDS="amd64 x86 ~x86-linux"
17 mr_bones_ 1.1 IUSE=""
18     RESTRICT="test" # patches welcome to fix the test
19    
20     RDEPEND=">=virtual/jre-1.5"
21     DEPEND=">=virtual/jdk-1.5"
22    
23     S=${WORKDIR}/clojure-clojure-22c7e75
24    
25     src_test() {
26     java-pkg-2_src_test
27     }
28    
29     src_install() {
30     java-pkg_newjar ${P/_/-}.jar
31     java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
32     dodoc changes.md readme.txt || die
33     }

  ViewVC Help
Powered by ViewVC 1.1.20