mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-util/clojure-tools: bump to 1.12.5.1645
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST clojure-tools-1.12.4.1629.release.gh.tar.gz 15378653 BLAKE2B 7ccc8423be0d47b83cec8967caad6a633ba1dafb1247d9db8b31ba5162d1aab487e804cddca5afd61f4c99ca6155f10bdb67139ca3ccb920746fab222fa123eb SHA512 4124c64234e10eea7943c6a1f25ae3161b054443e72d5a80c9a11d6aa948e5130311be54016d006fb3b768fff9062067a306a06b0818914d102efc7caf01c19a
|
||||
DIST clojure-tools-1.12.5.1645.release.gh.tar.gz 15403267 BLAKE2B 034331cdb569936de28572aeab993df97b778ab51a73c723f0662edef421c03e7e130bbfed2fe7b948903d4a355b3b135871755c42ea645e65e7990c5325f3ae SHA512 9100cff7d13c76c3ba12dec3b81752f2a74030468861b9c825331626e4e0f090286792f9f311c54bfafe60f114a22c68771128e32f2b53c50fb079e832d4e9b8
|
||||
|
||||
59
dev-util/clojure-tools/clojure-tools-1.12.5.1645.ebuild
Normal file
59
dev-util/clojure-tools/clojure-tools-1.12.5.1645.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="Development tools for the Clojure programming language"
|
||||
HOMEPAGE="https://clojure.org/
|
||||
https://github.com/clojure/brew-install/"
|
||||
|
||||
SRC_URI="https://github.com/clojure/brew-install/releases/download/${PV}/${P}.tar.gz
|
||||
-> ${P}.release.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
app-misc/rlwrap
|
||||
"
|
||||
|
||||
src_install() {
|
||||
local app_lib="/usr/share/${PN}/lib"
|
||||
|
||||
java-pkg_newjar "${P}.jar"
|
||||
|
||||
mv exec.jar "${PN}-exec.jar" || die
|
||||
java-pkg_dojar "${PN}-exec.jar"
|
||||
|
||||
insinto "${app_lib}"
|
||||
doins deps.edn example-deps.edn tools.edn
|
||||
|
||||
sed -i clj clojure \
|
||||
-e "s|BINDIR|${EPREFIX}${app_lib}|" \
|
||||
-e "s|PREFIX|${EPREFIX}${app_lib}|" \
|
||||
-e "s|libexec/||g" \
|
||||
-e "s|${PN}-\$version.jar|${PN}.jar|g" \
|
||||
-e "s|exec.jar|${PN}-exec.jar|g" \
|
||||
|| die
|
||||
|
||||
exeinto "${app_lib}"
|
||||
doexe clj clojure
|
||||
dosym -r "${app_lib}/clj" /usr/bin/clj
|
||||
|
||||
doman clj.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Because Gentoo provides both dev-lang/clojure (the core language),"
|
||||
einfo "the language part is installed as \"clojure\" executable and"
|
||||
einfo "the development tools as the \"clj\" executable."
|
||||
|
||||
einfo "If you plan to use CIDER (GNU Emacs package) you probably"
|
||||
einfo "need to customize the \"cider-clojure-cli-command\" variable and"
|
||||
einfo "set it to \"/usr/share/${PN}/lib/clojure\"."
|
||||
}
|
||||
Reference in New Issue
Block a user