summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/zlib/zlib-native.inc10
-rw-r--r--meta/packages/zlib/zlib-native_1.2.3.bb13
-rw-r--r--meta/packages/zlib/zlib-sdk.inc8
-rw-r--r--meta/packages/zlib/zlib-sdk_1.2.3.bb2
-rw-r--r--meta/packages/zlib/zlib_1.2.3.bb2
5 files changed, 22 insertions, 13 deletions
diff --git a/meta/packages/zlib/zlib-native.inc b/meta/packages/zlib/zlib-native.inc
new file mode 100644
index 0000000000..290ee98b32
--- /dev/null
+++ b/meta/packages/zlib/zlib-native.inc
@@ -0,0 +1,10 @@
1ZLIB_EXTRA = ""
2inherit native
3
4do_stage() {
5 install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h
6 install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h
7 oe_libinstall -a -so libz ${STAGING_LIBDIR}
8}
9
10DEPENDS = "libtool-native"
diff --git a/meta/packages/zlib/zlib-native_1.2.3.bb b/meta/packages/zlib/zlib-native_1.2.3.bb
index 8ad4a8c03c..645b2c45c6 100644
--- a/meta/packages/zlib/zlib-native_1.2.3.bb
+++ b/meta/packages/zlib/zlib-native_1.2.3.bb
@@ -1,13 +1,2 @@
1SECTION = "libs"
2require zlib_${PV}.bb 1require zlib_${PV}.bb
3ZLIB_EXTRA = "" 2require zlib-native.inc
4inherit native
5
6do_stage() {
7 install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h
8 install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h
9 oe_libinstall -a -so libz ${STAGING_LIBDIR}
10}
11
12
13DEPENDS = "libtool-native"
diff --git a/meta/packages/zlib/zlib-sdk.inc b/meta/packages/zlib/zlib-sdk.inc
new file mode 100644
index 0000000000..e4eb3024e2
--- /dev/null
+++ b/meta/packages/zlib/zlib-sdk.inc
@@ -0,0 +1,8 @@
1ZLIB_EXTRA = ""
2inherit sdk
3
4do_stage() {
5 install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h
6 install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h
7 oe_libinstall -a -so libz ${STAGING_LIBDIR}
8}
diff --git a/meta/packages/zlib/zlib-sdk_1.2.3.bb b/meta/packages/zlib/zlib-sdk_1.2.3.bb
new file mode 100644
index 0000000000..b6e15c3ae2
--- /dev/null
+++ b/meta/packages/zlib/zlib-sdk_1.2.3.bb
@@ -0,0 +1,2 @@
1require zlib_${PV}.bb
2require zlib-sdk.inc
diff --git a/meta/packages/zlib/zlib_1.2.3.bb b/meta/packages/zlib/zlib_1.2.3.bb
index 629ee83efb..69f78687f2 100644
--- a/meta/packages/zlib/zlib_1.2.3.bb
+++ b/meta/packages/zlib/zlib_1.2.3.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
3PRIORITY = "required" 3PRIORITY = "required"
4HOMEPAGE = "http://www.gzip.org/zlib/" 4HOMEPAGE = "http://www.gzip.org/zlib/"
5LICENSE = "zlib" 5LICENSE = "zlib"
6PR="r2" 6PR = "r2"
7 7
8SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \ 8SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
9 file://visibility.patch;patch=1 \ 9 file://visibility.patch;patch=1 \