summaryrefslogtreecommitdiff
path: root/dev-libs/half/half-1.12.0-r1.ebuild
blob: ce8d4509174cc4d59d84915a88f39bf70005f1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Half-precision floating-point library"
HOMEPAGE="https://github.com/ROCm/half"
SRC_URI="https://github.com/ROCm/half/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64"

src_install() {
	insinto /usr/include/half
	doins include/half.hpp
}