diff options
author | MATSUKI Hidenori <Matsuki.Hidenori@gmail.com> | 2015-12-21 21:10:41 +0000 |
---|---|---|
committer | MATSUKI Hidenori <Matsuki.Hidenori@gmail.com> | 2015-12-22 04:06:45 +0000 |
commit | 76b113092f0231f70415ee1f0aed678b491d3632 (patch) | |
tree | 1e32379763948e8f5804d95f36d95305e4ed26a8 /dev-java/sbt-bin/sbt-bin-0.13.8.ebuild | |
parent | net-irc/irc-client: Fix blocker on ircii (diff) | |
download | gentoo-76b113092f0231f70415ee1f0aed678b491d3632.tar.gz gentoo-76b113092f0231f70415ee1f0aed678b491d3632.tar.bz2 gentoo-76b113092f0231f70415ee1f0aed678b491d3632.zip |
dev-java/sbt-bin: Import ebuilds.
from my overlay( https://github.com/mazgi/portage-overlay/tree/master/dev-java/sbt-bin ).
Diffstat (limited to 'dev-java/sbt-bin/sbt-bin-0.13.8.ebuild')
-rw-r--r-- | dev-java/sbt-bin/sbt-bin-0.13.8.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/sbt-bin/sbt-bin-0.13.8.ebuild b/dev-java/sbt-bin/sbt-bin-0.13.8.ebuild new file mode 100644 index 000000000000..9c9034415703 --- /dev/null +++ b/dev-java/sbt-bin/sbt-bin-0.13.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="sbt, a build tool for Scala." +HOMEPAGE="http://scala-sbt.org" +SRC_URI="http://dl.bintray.com/sbt/native-packages/sbt/${PV}/${PN/-bin}-${PV}.tgz" + +LICENSE="BSD" +SLOT="0.13" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND=">=virtual/jre-1.7" +RDEPEND="${DEPEND}" + +src_unpack() { + default + + mv "${WORKDIR}/${PN/-bin}" "${S}" || die +} + +src_install() { + local dest="/opt/${P}" + + # Remove Windows batch file + rm -f "${S}/bin/sbt.bat" || die + + insinto "${dest}" + doins -r bin conf || die + fperms 0755 "${dest}/bin/sbt" || die + + dosym "${dest}/bin/sbt" /usr/bin/sbt || die +} |