summaryrefslogtreecommitdiff
path: root/packages/zlib/zlib_1.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zlib/zlib_1.2.2.bb')
-rw-r--r--packages/zlib/zlib_1.2.2.bb37
1 files changed, 0 insertions, 37 deletions
diff --git a/packages/zlib/zlib_1.2.2.bb b/packages/zlib/zlib_1.2.2.bb
deleted file mode 100644
index 1f543f04b4..0000000000
--- a/packages/zlib/zlib_1.2.2.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-DESCRIPTION = "Zlib Compression Library"
-SECTION = "libs"
-PRIORITY = "required"
-HOMEPAGE = "http://www.gzip.org/zlib/"
-LICENSE = "zlib"
-PR = "r6"
-
-SRC_URI = "http://www.libpng.org/pub/png/src/zlib-${PV}.tar.gz \
- file://visibility.patch;patch=1 \
- file://zlib_1.2.2-8.diff.gz;patch=1 "
-S = "${WORKDIR}/zlib-${PV}"
-
-export LDSHARED = "${CC} -shared -Wl,-soname,libz.so.1"
-LDFLAGS_append = " -L. -lz"
-CFLAGS_prepend = "-fPIC -DZLIB_DLL "
-AR_append = " rc"
-EXTRA_OEMAKE = ""
-
-do_compile() {
- ./configure --prefix=${prefix} --exec_prefix=${exec_prefix} --shared --libdir=${libdir} --includedir=${includedir}
- oe_runmake -e MAKEFLAGS="" libz.so.${PV} libz.a
-}
-
-do_stage() {
- install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h
- install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h
- oe_libinstall -a -so libz ${STAGING_LIBDIR}
-}
-
-do_install() {
- install -d ${D}${prefix} ${D}${includedir} ${D}${libdir}
- oe_runmake "prefix=${D}${prefix}" \
- "exec_prefix=${D}${exec_prefix}" \
- "man3dir=${D}${mandir}/man3" \
- "includedir=${D}${includedir}" \
- "libdir=${D}${libdir}" install
-}