summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/half/half_2.1.0.bb
blob: ca7984a4ca8cebfa62e3a45ce28554d86c84bdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUMMARY = "C++ library for half precision floating point arithmetics"
DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \
               half-precision floating point type along with corresponding arithmetic operators, \
               type conversions and common mathematical functions."
HOMEPAGE = "https://half.sourceforge.net/"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831"

SRC_URI = "https://sourceforge.net/projects/half/files/half/${PV}/${BP}.zip"
SRC_URI[sha256sum] = "ad1788afe0300fa2b02b0d1df128d857f021f92ccf7c8bddd07812685fa07a25"

S = "${UNPACKDIR}"

do_install () {
    install -d ${D}${includedir}
    cp -r ${S}/include/* ${D}${includedir}
}

ALLOW_EMPTY:${PN} = "1"