diff options
Diffstat (limited to 'meta/recipes-lsb4/libpng/libpng12_1.2.52.bb')
-rw-r--r-- | meta/recipes-lsb4/libpng/libpng12_1.2.52.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-lsb4/libpng/libpng12_1.2.52.bb b/meta/recipes-lsb4/libpng/libpng12_1.2.52.bb new file mode 100644 index 0000000000..5b67fe8b53 --- /dev/null +++ b/meta/recipes-lsb4/libpng/libpng12_1.2.52.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "PNG image format decoding library" | ||
2 | HOMEPAGE = "http://www.libpng.org/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Libpng" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4495b57387451782e5f34c2968c35ed0 \ | ||
6 | file://png.h;beginline=314;endline=428;md5=0c93e62d39955f2b879c056165cfad43" | ||
7 | DEPENDS = "zlib" | ||
8 | |||
9 | PN = "libpng12" | ||
10 | S = "${WORKDIR}/libpng-${PV}" | ||
11 | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz" | ||
13 | |||
14 | SRC_URI[md5sum] = "49d5c71929bf69a172147c47b9309fbe" | ||
15 | SRC_URI[sha256sum] = "d4fb0fbf14057ad6d0319034188fc2aecddb493da8e3031b7b072ed28f510ec0" | ||
16 | |||
17 | BINCONFIG_GLOB = "${PN}-config" | ||
18 | |||
19 | inherit autotools binconfig pkgconfig | ||
20 | |||
21 | do_install_append() { | ||
22 | # The follow link files link to corresponding png12*.h and libpng12* files | ||
23 | # They conflict with higher verison, so drop them | ||
24 | unlink ${D}/${includedir}/png.h | ||
25 | unlink ${D}/${includedir}/pngconf.h | ||
26 | |||
27 | unlink ${D}/${libdir}/libpng.la | ||
28 | unlink ${D}/${libdir}/libpng.so | ||
29 | unlink ${D}/${libdir}/libpng.a | ||
30 | unlink ${D}/${libdir}/pkgconfig/libpng.pc | ||
31 | |||
32 | unlink ${D}/${bindir}/libpng-config | ||
33 | } | ||