Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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=bd2a7a13355fcca92ad83bdf7e296011 \ |
| 6 | file://png.h;beginline=322;endline=436;md5=caf9ee541234c663aeecdcfef2f79ae1" |
| 7 | DEPENDS = "zlib" |
| 8 | |
| 9 | PN = "libpng12" |
| 10 | S = "${WORKDIR}/libpng-${PV}" |
| 11 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/older-releases/${PV}/libpng-${PV}.tar.xz" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
| 14 | SRC_URI[md5sum] = "7d18a74e6fd2029aee76ccd00e00a9e6" |
| 15 | SRC_URI[sha256sum] = "b45e49f689e7451bd576569e6a344f7e0d11c02ecbb797f4da0e431526765c0a" |
| 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 | } |