diff options
author | Marko Lindqvist <cazfi74@gmail.com> | 2013-05-30 10:15:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-04 15:53:45 +0100 |
commit | 4688c905776b9d995b2510224da269ac85bc8253 (patch) | |
tree | e4b3fda683e0a5c229ab8f6762537c5ce1499578 /meta/recipes-core/zlib/zlib_1.2.8.bb | |
parent | 8a2ac668d99f7d64c2acffc3a39cedb2d152be6e (diff) | |
download | openembedded-core-4688c905776b9d995b2510224da269ac85bc8253.tar.gz openembedded-core-4688c905776b9d995b2510224da269ac85bc8253.tar.bz2 openembedded-core-4688c905776b9d995b2510224da269ac85bc8253.zip |
zlib: update to upstream version 1.2.8
Only version number and release year changed in license text.
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/zlib/zlib_1.2.8.bb')
-rw-r--r-- | meta/recipes-core/zlib/zlib_1.2.8.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-core/zlib/zlib_1.2.8.bb b/meta/recipes-core/zlib/zlib_1.2.8.bb new file mode 100644 index 0000000000..8dd29b9485 --- /dev/null +++ b/meta/recipes-core/zlib/zlib_1.2.8.bb @@ -0,0 +1,43 @@ +SUMMARY = "Zlib Compression Library" +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=4;endline=23;md5=fde612df1e5933c428b73844a0c494fd" + +PR = "r0" + +SRC_URI = "http://www.zlib.net/${BPN}-${PV}.tar.xz \ + file://remove.ldconfig.call.patch \ + " + +SRC_URI[md5sum] = "28f1205d8dd2001f26fec1e8c2cebe37" +SRC_URI[sha256sum] = "831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057" + +do_configure (){ + ./configure --prefix=${prefix} --shared --libdir=${libdir} +} + +do_compile (){ + oe_runmake +} + +do_install() { + oe_runmake DESTDIR=${D} install +} + +# We move zlib shared libraries for target builds to avoid +# qa warnings. +# +do_install_append_class-target() { + if [ ${base_libdir} != ${libdir} ] + then + mkdir -p ${D}/${base_libdir} + mv ${D}/${libdir}/libz.so.* ${D}/${base_libdir} + tmp=`readlink ${D}/${libdir}/libz.so` + ln -sf ../../${base_libdir}/$tmp ${D}/${libdir}/libz.so + fi +} + +BBCLASSEXTEND = "native nativesdk" |