summaryrefslogtreecommitdiff
path: root/app-misc/hastyhex/hastyhex-1.0.0.ebuild
blob: 87471bff26130bcbdeb21eda83632a277c7c009e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A blazing fast hex dumper"
HOMEPAGE="https://github.com/skeeto/hastyhex"
SRC_URI="https://github.com/skeeto/${PN}/releases/download/v${PV}/${P}.tar.xz"

LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c || die
}

src_install() {
	dobin ${PN}
	doman ${PN}.1
}