summaryrefslogtreecommitdiff
path: root/meta/packages/zlib/zlib_1.2.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/zlib/zlib_1.2.3.bb')
-rw-r--r--meta/packages/zlib/zlib_1.2.3.bb22
1 files changed, 3 insertions, 19 deletions
diff --git a/meta/packages/zlib/zlib_1.2.3.bb b/meta/packages/zlib/zlib_1.2.3.bb
index 25677733f8..ca54b6abfb 100644
--- a/meta/packages/zlib/zlib_1.2.3.bb
+++ b/meta/packages/zlib/zlib_1.2.3.bb
@@ -3,31 +3,15 @@ SECTION = "libs"
PRIORITY = "required"
HOMEPAGE = "http://www.gzip.org/zlib/"
LICENSE = "zlib"
-PR = "r6"
+PR = "r7"
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
file://1.2.3.3.dfsg.patch.gz;patch=1 \
file://visibility.patch;patch=1 \
file://autotools.patch;patch=1 "
-S = "${WORKDIR}/zlib-${PV}"
-
DEPENDS = "libtool-cross"
-inherit autotools
-
-do_stage() {
- install -m 0644 zlib.h ${STAGING_INCDIR}/
- install -m 0644 zconf.h ${STAGING_INCDIR}/
- install -m 0644 zlibdefs.h ${STAGING_INCDIR}/
- oe_libinstall -a -so libz ${STAGING_LIBDIR}
-}
+inherit autotools_stage
-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
-}
+BBCLASSEXTEND = "native sdk"