diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-03 11:53:07 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-03 11:53:07 +0000 |
commit | a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8 (patch) | |
tree | cd2c7d5387b80e69481299d205deecda10b33f38 /meta/packages/zlib | |
parent | 5f249978e2a632d3f96cef1093fd3214d12c2fb0 (diff) | |
download | openembedded-core-a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8.tar.gz openembedded-core-a3f78080133f2fd0a8aa43023f1d7b2f8a9648d8.tar.bz2 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.inc | 10 | ||||
-rw-r--r-- | meta/packages/zlib/zlib-native_1.2.3.bb | 13 | ||||
-rw-r--r-- | meta/packages/zlib/zlib-sdk.inc | 8 | ||||
-rw-r--r-- | meta/packages/zlib/zlib-sdk_1.2.3.bb | 2 | ||||
-rw-r--r-- | meta/packages/zlib/zlib_1.2.3.bb | 2 |
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 @@ +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 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 @@ -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 0000000000..e4eb3024e2 --- /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 0000000000..b6e15c3ae2 --- /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 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" 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 \ |