diff options
Diffstat (limited to 'meta/packages/zlib')
-rw-r--r-- | meta/packages/zlib/zlib-native_1.1.4.bb | 4 | ||||
-rw-r--r-- | meta/packages/zlib/zlib-native_1.2.2.bb | 4 | ||||
-rw-r--r-- | meta/packages/zlib/zlib_1.1.4.bb | 33 | ||||
-rw-r--r-- | meta/packages/zlib/zlib_1.2.2.bb | 37 |
4 files changed, 0 insertions, 78 deletions
diff --git a/meta/packages/zlib/zlib-native_1.1.4.bb b/meta/packages/zlib/zlib-native_1.1.4.bb deleted file mode 100644 index eb551364ac..0000000000 --- a/meta/packages/zlib/zlib-native_1.1.4.bb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | SECTION = "libs" | ||
2 | require zlib_${PV}.bb | ||
3 | inherit native | ||
4 | DEPENDS = "" | ||
diff --git a/meta/packages/zlib/zlib-native_1.2.2.bb b/meta/packages/zlib/zlib-native_1.2.2.bb deleted file mode 100644 index eb551364ac..0000000000 --- a/meta/packages/zlib/zlib-native_1.2.2.bb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | SECTION = "libs" | ||
2 | require zlib_${PV}.bb | ||
3 | inherit native | ||
4 | DEPENDS = "" | ||
diff --git a/meta/packages/zlib/zlib_1.1.4.bb b/meta/packages/zlib/zlib_1.1.4.bb deleted file mode 100644 index 768b1bc91a..0000000000 --- a/meta/packages/zlib/zlib_1.1.4.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | DESCRIPTION = "Zlib Compression Library" | ||
2 | SECTION = "libs" | ||
3 | PRIORITY = "required" | ||
4 | HOMEPAGE = "http://www.gzip.org/zlib/" | ||
5 | LICENSE = "zlib" | ||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib-${PV}.tar.gz" | ||
9 | |||
10 | S = "${WORKDIR}/zlib-${PV}" | ||
11 | |||
12 | export LDSHARED = "${CC} -shared -Wl,-soname,libz.so.1" | ||
13 | LDFLAGS_append = " -L. -lz" | ||
14 | CFLAGS_prepend = "-fPIC " | ||
15 | AR_append = " rc" | ||
16 | EXTRA_OEMAKE = "" | ||
17 | |||
18 | do_compile() { | ||
19 | ./configure --prefix=${prefix} --exec_prefix=${exec_prefix} --shared --libdir=${libdir} --includedir=${includedir} | ||
20 | oe_runmake -e MAKEFLAGS="" libz.so.${PV} libz.a | ||
21 | } | ||
22 | |||
23 | do_stage() { | ||
24 | install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h | ||
25 | install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h | ||
26 | oe_libinstall -a -so libz ${STAGING_LIBDIR} | ||
27 | } | ||
28 | |||
29 | do_install() { | ||
30 | install -d ${D}${prefix} ${D}${includedir} ${D}${libdir} | ||
31 | oe_runmake "prefix=${D}${prefix}" "includedir=${D}${includedir}" \ | ||
32 | "libdir=${D}${libdir}" install | ||
33 | } | ||
diff --git a/meta/packages/zlib/zlib_1.2.2.bb b/meta/packages/zlib/zlib_1.2.2.bb deleted file mode 100644 index 1f543f04b4..0000000000 --- a/meta/packages/zlib/zlib_1.2.2.bb +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | DESCRIPTION = "Zlib Compression Library" | ||
2 | SECTION = "libs" | ||
3 | PRIORITY = "required" | ||
4 | HOMEPAGE = "http://www.gzip.org/zlib/" | ||
5 | LICENSE = "zlib" | ||
6 | PR = "r6" | ||
7 | |||
8 | SRC_URI = "http://www.libpng.org/pub/png/src/zlib-${PV}.tar.gz \ | ||
9 | file://visibility.patch;patch=1 \ | ||
10 | file://zlib_1.2.2-8.diff.gz;patch=1 " | ||
11 | S = "${WORKDIR}/zlib-${PV}" | ||
12 | |||
13 | export LDSHARED = "${CC} -shared -Wl,-soname,libz.so.1" | ||
14 | LDFLAGS_append = " -L. -lz" | ||
15 | CFLAGS_prepend = "-fPIC -DZLIB_DLL " | ||
16 | AR_append = " rc" | ||
17 | EXTRA_OEMAKE = "" | ||
18 | |||
19 | do_compile() { | ||
20 | ./configure --prefix=${prefix} --exec_prefix=${exec_prefix} --shared --libdir=${libdir} --includedir=${includedir} | ||
21 | oe_runmake -e MAKEFLAGS="" libz.so.${PV} libz.a | ||
22 | } | ||
23 | |||
24 | do_stage() { | ||
25 | install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h | ||
26 | install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h | ||
27 | oe_libinstall -a -so libz ${STAGING_LIBDIR} | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | install -d ${D}${prefix} ${D}${includedir} ${D}${libdir} | ||
32 | oe_runmake "prefix=${D}${prefix}" \ | ||
33 | "exec_prefix=${D}${exec_prefix}" \ | ||
34 | "man3dir=${D}${mandir}/man3" \ | ||
35 | "includedir=${D}${includedir}" \ | ||
36 | "libdir=${D}${libdir}" install | ||
37 | } | ||