Files
guru/sys-apps/hex/hex-0.4.0.ebuild
YOSHIOKA Takuma 697e56a2c5 sys-apps/hex: fix 0.4.0 ebuild (make emergeable and more)
* Add hex source itself to `SRC_URI`
    + Cannot compile without this.
* Use consistent `DESCRIPTION` among older versions
    + There seems no reasons to change.
* Loosen license
    + `Apache-2.0 OR MIT` crates are already covered by accepting `MIT`.
* Install `README.md` document
    + This file contains useful CLI option examples.

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
2020-12-04 16:28:01 +09:00

51 lines
928 B
Bash

# Copyright 2017-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CRATES="
ansi_term-0.11.0
ansi_term-0.12.1
assert_cmd-1.0.1
atty-0.2.11
bitflags-1.0.4
clap-2.33.3
difference-2.0.0
doc-comment-0.3.3
libc-0.2.47
no_color-0.1.0
predicates-1.0.5
predicates-core-1.0.0
predicates-tree-1.0.0
redox_syscall-0.1.50
redox_termios-0.1.1
strsim-0.8.0
termion-1.5.1
textwrap-0.11.0
treeline-0.1.0
unicode-width-0.1.5
vec_map-0.8.1
wait-timeout-0.2.0
winapi-0.3.6
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
"
inherit cargo
DESCRIPTION="Futuristic take on hexdump"
HOMEPAGE="https://github.com/sitkevij/hex"
SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="mirror"
src_install() {
cargo_src_install
dodoc README.md
}