blob: 571b08ebf39813ecc91d0f07477020d30d56f213 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
DESCRIPTION = "QATzip is a user space library built on top of the Intel QAT user space library, \
to offload the compression and decompression requests to the Intel Chipset Series."
HOMEPAGE = "https://github.com/intel/QATzip"
LICENSE = "BSD-3-Clause & GPL-2.0-only"
LIC_FILES_CHKSUM = "\
file://LICENSE;md5=f7b7ac1ea80d2f68f359a2641b14df09 \
file://config_file/LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe \
"
SRC_URI = "git://github.com/intel/QATzip;protocol=https;branch=master \
file://remove-rpath.patch \
"
SRCREV = "fdee557b5bb640827758f121102dcf3583292b7a"
DEPENDS += "qat17 util-linux-native lz4 "
export ICP_ROOT = "${STAGING_DIR_TARGET}/opt/intel/QAT"
export QZ_ROOT = "${S}"
# static library required to compile qzip and test
DISABLE_STATIC = ""
COMPATIBLE_MACHINE = "null"
inherit autotools-brokensep
S = "${WORKDIR}/git"
do_configure:prepend() {
cd ${S}
./autogen.sh
}
do_compile() {
oe_runmake all
}
do_install:append() {
install -d ${D}${sysconfdir}/QATzip/conf_file
cp -r ${S}/config_file/* ${D}${sysconfdir}/QATzip/conf_file
}
|