diff options
Diffstat (limited to 'meta/packages/libpng/libpng-native_1.2.8.bb')
-rw-r--r-- | meta/packages/libpng/libpng-native_1.2.8.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/libpng/libpng-native_1.2.8.bb b/meta/packages/libpng/libpng-native_1.2.8.bb new file mode 100644 index 0000000000..b03056f08d --- /dev/null +++ b/meta/packages/libpng/libpng-native_1.2.8.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | include libpng_${PV}.bb | ||
2 | inherit native | ||
3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" | ||
4 | DEPENDS = "zlib-native" | ||
5 | |||
6 | INHIBIT_NATIVE_STAGE_INSTALL = "1" | ||
7 | |||
8 | do_stage_append() { | ||
9 | cp libpng.pc libpng12.pc | ||
10 | install -m 644 png.h ${STAGING_INCDIR}/png.h | ||
11 | install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h | ||
12 | oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ | ||
13 | ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so | ||
14 | } | ||