diff options
Diffstat (limited to 'dev-lang/gleam/gleam-1.1.0.ebuild')
-rw-r--r-- | dev-lang/gleam/gleam-1.1.0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-lang/gleam/gleam-1.1.0.ebuild b/dev-lang/gleam/gleam-1.1.0.ebuild new file mode 100644 index 000000000000..050a8cc09d08 --- /dev/null +++ b/dev-lang/gleam/gleam-1.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo optfeature + +DESCRIPTION="A friendly language for building type-safe, scalable systems!" +HOMEPAGE="https://gleam.run https://github.com/gleam-lang/gleam" +SRC_URI=" + https://github.com/gleam-lang/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~matthew/distfiles/${P}-crates.tar.xz +" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB openssl" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-lang/erlang:*" + +# rust does not use *FLAGS from make.conf, silence portage warning +# update with proper path to binaries this crate installs, omit leading / +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_install() { + dodoc CHANGELOG.md + cargo_src_install --path compiler-cli +} + +pkg_postinst() { + optfeature "erlang package support" dev-util/rebar:3 + optfeature "javascript runtime" net-libs/nodejs +} |