From 377b04835353b9b8068f62e1be3574658c574cbb Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 25 May 2018 19:11:48 +0200 Subject: [PATCH] dev-lang/clojure: initial import of version 1.9.0 --- .../dev-lang/clojure/clojure-1.9.0.exheres-0 | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 packages/dev-lang/clojure/clojure-1.9.0.exheres-0 diff --git a/packages/dev-lang/clojure/clojure-1.9.0.exheres-0 b/packages/dev-lang/clojure/clojure-1.9.0.exheres-0 new file mode 100644 index 0000000..d7fa9a0 --- /dev/null +++ b/packages/dev-lang/clojure/clojure-1.9.0.exheres-0 @@ -0,0 +1,40 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +TOOLVER="381" + +SUMMARY="LISP for the JVM" +HOMEPAGE="https://clojure.org/" +DOWNLOADS="https://download.clojure.org/install/clojure-tools-${PV}.${TOOLVER}.tar.gz" + +LICENCES="EPL-1.0 Apache-2.0 BSD-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + run: + virtual/jdk:* + suggestion: + app-misc/rlwrap [[ description = [ Needed to run 'clj' ] ]] +" + +BUGS_TO="hasufell@posteo.de" + +WORK=${WORKBASE}/clojure-tools + +src_prepare() { + # adjust paths + edo sed -i \ + -e 's,PREFIX,/usr/share/clojure,g' \ + -e '/^tools_cp/s,libexec/,,' \ + clojure +} + +src_install() { + insinto /usr/share/clojure + doins deps.edn example-deps.edn clojure-tools-${PV}.${TOOLVER}.jar + dobin clojure clj + doman clojure.1 clj.1 +} +