mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00:00
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
DESCRIPTION = "Zlib Compression Library"
|
||||
SECTION = "libs"
|
||||
PRIORITY = "required"
|
||||
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
|
||||
HOMEPAGE = "http://www.gzip.org/zlib/"
|
||||
LICENSE = "zlib"
|
||||
|
||||
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
|
||||
file://visibility.patch;patch=1"
|
||||
|
||||
S = "${WORKDIR}/zlib-${PV}"
|
||||
|
||||
export LDSHARED = "${CC} -shared -Wl,-soname,libz.so.1"
|
||||
LDFLAGS_append = " -L. -lz"
|
||||
CFLAGS_prepend = "-fPIC -DZLIB_DLL "
|
||||
AR_append = " rc"
|
||||
EXTRA_OEMAKE = ""
|
||||
|
||||
do_compile() {
|
||||
./configure --prefix=${prefix} --exec_prefix=${exec_prefix} --shared --libdir=${libdir} --includedir=${includedir}
|
||||
oe_runmake -e MAKEFLAGS="" libz.so.${PV} libz.a
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user