summaryrefslogtreecommitdiffstats
path: root/meta/packages/libpng/libpng-native_1.2.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/libpng/libpng-native_1.2.8.bb')
-rw-r--r--meta/packages/libpng/libpng-native_1.2.8.bb14
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 @@
1include libpng_${PV}.bb
2inherit native
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}"
4DEPENDS = "zlib-native"
5
6INHIBIT_NATIVE_STAGE_INSTALL = "1"
7
8do_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}