summaryrefslogtreecommitdiff
path: root/meta/packages/zlib
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-03 11:53:07 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-03 11:53:07 +0000
commita3f78080133f2fd0a8aa43023f1d7b2f8a9648d8 (patch)
treecd2c7d5387b80e69481299d205deecda10b33f38 /meta/packages/zlib
parent5f249978e2a632d3f96cef1093fd3214d12c2fb0 (diff)
downloadopenembedded-core-a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8.tar.gz
openembedded-core-a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8.tar.bz2
openembedded-core-a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8.tar.xz
openembedded-core-a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8.zip
zlib: Add -sdk version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3665 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/zlib')
-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 000000000..290ee98b3
--- /dev/null
+++ b/meta/packages/zlib/zlib-native.inc
@@ -0,0 +1,10 @@
+ZLIB_EXTRA = ""
+inherit native
+
+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}
+}
+
+DEPENDS = "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 8ad4a8c03..645b2c45c 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 @@
-SECTION = "libs"
require zlib_${PV}.bb
-ZLIB_EXTRA = ""
-inherit native
-
-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}
-}
-
-
-DEPENDS = "libtool-native"
+require zlib-native.inc
diff --git a/meta/packages/zlib/zlib-sdk.inc b/meta/packages/zlib/zlib-sdk.inc
new file mode 100644
index 000000000..e4eb3024e
--- /dev/null
+++ b/meta/packages/zlib/zlib-sdk.inc
@@ -0,0 +1,8 @@
+ZLIB_EXTRA = ""
+inherit sdk
+
+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}
+}
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 000000000..b6e15c3ae
--- /dev/null
+++ b/meta/packages/zlib/zlib-sdk_1.2.3.bb
@@ -0,0 +1,2 @@
+require zlib_${PV}.bb
+require zlib-sdk.inc
diff --git a/meta/packages/zlib/zlib_1.2.3.bb b/meta/packages/zlib/zlib_1.2.3.bb
index 629ee83ef..69f78687f 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"
PRIORITY = "required"
HOMEPAGE = "http://www.gzip.org/zlib/"
LICENSE = "zlib"
-PR="r2"
+PR = "r2"
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
file://visibility.patch;patch=1 \