From ccc4c956ddb5810d85351e6fd04ce5d14765fadc Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Fri, 7 Sep 2012 17:34:20 +0000 Subject: Created clojure.exlib and added clojure-1.3.0 exh --- packages/dev-lang/clojure/clojure-1.4.0.exheres-0 | 40 ++--------------------- 1 file changed, 2 insertions(+), 38 deletions(-) (limited to 'packages/dev-lang/clojure/clojure-1.4.0.exheres-0') diff --git a/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 b/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 index 73feb86..8f6b2db 100644 --- a/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 +++ b/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 @@ -1,46 +1,10 @@ # Copyright 2012 Guillermo Ramos # Distributed under the terms of the GNU General Public License v2 -# Based in part upon 'clojure-1.4.0.ebuild' from Gentoo, which is: -# Copyright 1999-2012 Gentoo Foundation -require alternatives ant +MY_MAGIC=8306949 -SUMMARY="Clojure is a dynamic programming language that targets the Java Virtual Machine" -HOMEPAGE="http://clojure.org/" -DOWNLOADS="https://github.com/clojure/clojure/tarball/${PNV} -> ${PNV}.tar.gz" +require clojure -LICENCES="EPL-1.0" PLATFORMS="amd64 x86" SLOT="1.4" -MYOPTIONS="" - -DEPENDENCIES=" - build: - virtual/jdk[>=1.5] - run: - virtual/jre[>=1.5] -" - -WORK=${WORKBASE}/clojure-clojure-8306949 -SHORT_PNV=${PN}-${SLOT} - -ANT_SRC_COMPILE_PARAMS=( jar ) -ANT_SRC_TEST_PARAMS=( test ) - -src_prepare() { :; } - -src_install() { - edo mv ${PNV}.jar ${PN}.jar - - insinto /usr/share/${SHORT_PNV} - doins ${PN}.jar - - exeinto /usr/bin/ - doexe ${FILES}/${SHORT_PNV} - - alternatives_for ${PN} ${SLOT} 0 \ - "/usr/bin/${PN}" "${SHORT_PNV}" - - dodoc changes.md readme.txt -} -- cgit v1.2.3