blob: 507b32eff994dae11e6d8f55f46225182380632e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
DESCRIPTION = "Zlib Compression Library"
SECTION = "libs"
PRIORITY = "required"
MAINTAINER = "Henning Heinold <heinold@inf.fu-berlin.de>"
HOMEPAGE = "http://www.gzip.org/zlib/"
LICENSE = "zlib"
PR="r1"
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
file://visibility.patch;patch=1 \
file://autotools.patch;patch=1 "
S = "${WORKDIR}/zlib-${PV}"
DEPENDS = "libtool-cross"
inherit autotools
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}
}
do_install() {
install -d ${D}${prefix} ${D}${includedir} ${D}${libdir}
oe_runmake "prefix=${D}${prefix}" \
"exec_prefix=${D}${exec_prefix}" \
"man3dir=${D}${mandir}/man3" \
"includedir=${D}${includedir}" \
"libdir=${D}${libdir}" install
}
|