mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
zlib: Add -sdk version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3665 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -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"
|
||||||
@@ -1,13 +1,2 @@
|
|||||||
SECTION = "libs"
|
|
||||||
require zlib_${PV}.bb
|
require zlib_${PV}.bb
|
||||||
ZLIB_EXTRA = ""
|
require zlib-native.inc
|
||||||
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"
|
|
||||||
|
|||||||
@@ -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}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
require zlib_${PV}.bb
|
||||||
|
require zlib-sdk.inc
|
||||||
@@ -3,7 +3,7 @@ SECTION = "libs"
|
|||||||
PRIORITY = "required"
|
PRIORITY = "required"
|
||||||
HOMEPAGE = "http://www.gzip.org/zlib/"
|
HOMEPAGE = "http://www.gzip.org/zlib/"
|
||||||
LICENSE = "zlib"
|
LICENSE = "zlib"
|
||||||
PR="r2"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
|
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
|
||||||
file://visibility.patch;patch=1 \
|
file://visibility.patch;patch=1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user