aboutsummaryrefslogtreecommitdiff
blob: 588ee7e94e9b942e9b223150563489f56af01a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit unpacker

DESCRIPTION="Half-precision floating-point library"
HOMEPAGE="http://half.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/project/half/half/${PV}/half-${PV}.zip"

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

DEPEND="app-arch/unzip"
RDEPEND="${DEPEND}"

S="${WORKDIR}"

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