xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/xxhash/xxhash_0.8.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Extremely fast non-cryptographic hash algorithm"
2DESCRIPTION = "xxHash is an extremely fast non-cryptographic hash algorithm, \
3working at speeds close to RAM limits."
4HOMEPAGE = "http://www.xxhash.com/"
5LICENSE = "BSD-2-Clause & GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=cdfe7764d5685d8e08b3df302885d7f3 \
7                    file://cli/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8                   "
9
10SRC_URI = "git://github.com/Cyan4973/xxHash.git;branch=release;protocol=https"
11UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
12
13SRCREV = "35b0373c697b5f160d3db26b1cbb45a0d5ba788c"
14
15S = "${WORKDIR}/git"
16
17CFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}"
18
19do_compile () {
20	oe_runmake all
21}
22
23do_install () {
24	oe_runmake DESTDIR=${D} install
25}
26
27BBCLASSEXTEND = "native nativesdk"
28