This fork of zlib has a number of IA-specific improvements and is
noticably faster when running on Intel hardware.

Signed-off-by: Ross Burton <ross.bur...@intel.com>
---
 recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb | 30 ++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb

diff --git a/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb 
b/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
new file mode 100644
index 00000000..1548f3b5
--- /dev/null
+++ b/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Zlib Compression Library (Intel-tuned)"
+DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data 
compression \
+library which is used by many different programs."
+HOMEPAGE = "http://zlib.net/";
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = 
"file://zlib.h;beginline=6;endline=23;md5=5377232268e952e9ef63bc555f7aa6c0"
+
+PROVIDES = "zlib"
+
+SRC_URI = "git://github.com/jtkukunas/zlib.git;protocol=git"
+SRCREV = "a43a247bfa16ec5368747b5b64f11ea5ca033010"
+
+S = "${WORKDIR}/git"
+
+CFLAGS += "-D_REENTRANT"
+
+do_configure() {
+       LDCONFIG=true ./configure --prefix=${prefix} --shared 
--libdir=${libdir} --uname=GNU
+}
+
+do_compile() {
+       oe_runmake shared
+}
+
+do_install() {
+       oe_runmake DESTDIR=${D} install
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.11.0

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to