zlib-native: stage zlib.h, spotted by Leon Woestenberg
authorKoen Kooi <koen@openembedded.org>
Mon, 2 Oct 2006 18:03:04 +0000 (18:03 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 2 Oct 2006 18:03:04 +0000 (18:03 +0000)
packages/zlib/zlib-native_1.2.3.bb

index 1716707..9a73bc6 100644 (file)
@@ -3,5 +3,12 @@ require zlib_${PV}.bb
 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"
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/zlib-${PV}', '${FILE_DIRNAME}/zlib', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"