2017-12-13 13:42:51 +01:00
|
|
|
# Template file for 'clojure'
|
|
|
|
pkgname=clojure
|
2018-01-19 22:36:12 +01:00
|
|
|
version=1.9.0.309
|
2017-12-13 13:42:51 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc="clojure-tools"
|
|
|
|
depends="virtual?java-environment rlwrap"
|
|
|
|
short_desc="The Clojure Programming Language"
|
|
|
|
maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
|
|
|
license="EPL"
|
|
|
|
homepage="https://clojure.org/"
|
|
|
|
distfiles="https://download.clojure.org/install/clojure-tools-${version}.tar.gz"
|
2018-01-19 22:36:12 +01:00
|
|
|
checksum=6f9f616bab384d36c884dd81860962511d2bc36095f9b379f94716e157c2f820
|
2017-12-13 13:42:51 +01:00
|
|
|
|
2018-01-19 22:36:12 +01:00
|
|
|
do_install() {
|
2017-12-13 13:42:51 +01:00
|
|
|
vmkdir /usr/lib/clojure
|
|
|
|
vmkdir /usr/lib/clojure/libexec
|
|
|
|
vcopy "deps.edn example-deps.edn" /usr/lib/clojure
|
|
|
|
vcopy clojure-tools-${version}.jar /usr/lib/clojure/libexec/
|
|
|
|
sed -i -e 's@PREFIX@/usr/lib/clojure@g' clojure
|
|
|
|
vbin clojure
|
|
|
|
vbin clj
|
|
|
|
}
|