diff options
-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 @@ | |||
1 | ZLIB_EXTRA = "" | ||
2 | inherit native | ||
3 | |||
4 | do_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 | |||
10 | 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 @@ | |||
1 | SECTION = "libs" | ||
2 | require zlib_${PV}.bb | 1 | require zlib_${PV}.bb |
3 | ZLIB_EXTRA = "" | 2 | require zlib-native.inc |
4 | inherit native | ||
5 | |||
6 | do_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 | |||
13 | DEPENDS = "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 @@ | |||
1 | ZLIB_EXTRA = "" | ||
2 | inherit sdk | ||
3 | |||
4 | do_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 @@ | |||
1 | require zlib_${PV}.bb | ||
2 | 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" | |||
3 | PRIORITY = "required" | 3 | PRIORITY = "required" |
4 | HOMEPAGE = "http://www.gzip.org/zlib/" | 4 | HOMEPAGE = "http://www.gzip.org/zlib/" |
5 | LICENSE = "zlib" | 5 | LICENSE = "zlib" |
6 | PR="r2" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \ | 8 | SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \ |
9 | file://visibility.patch;patch=1 \ | 9 | file://visibility.patch;patch=1 \ |