diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb')
-rw-r--r-- | yocto-poky/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb b/yocto-poky/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb new file mode 100644 index 000000000..bf861a7ba --- /dev/null +++ b/yocto-poky/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb @@ -0,0 +1,33 @@ +SUMMARY = "PNG image format decoding library" +HOMEPAGE = "http://www.libpng.org/" +SECTION = "libs" +LICENSE = "Libpng" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bd2a7a13355fcca92ad83bdf7e296011 \ + file://png.h;beginline=322;endline=436;md5=caf9ee541234c663aeecdcfef2f79ae1" +DEPENDS = "zlib" + +PN = "libpng12" +S = "${WORKDIR}/libpng-${PV}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz" + +SRC_URI[md5sum] = "7d18a74e6fd2029aee76ccd00e00a9e6" +SRC_URI[sha256sum] = "b45e49f689e7451bd576569e6a344f7e0d11c02ecbb797f4da0e431526765c0a" + +BINCONFIG_GLOB = "${PN}-config" + +inherit autotools binconfig pkgconfig + +do_install_append() { + # The follow link files link to corresponding png12*.h and libpng12* files + # They conflict with higher verison, so drop them + unlink ${D}/${includedir}/png.h + unlink ${D}/${includedir}/pngconf.h + + unlink ${D}/${libdir}/libpng.la + unlink ${D}/${libdir}/libpng.so + unlink ${D}/${libdir}/libpng.a + unlink ${D}/${libdir}/pkgconfig/libpng.pc + + unlink ${D}/${bindir}/libpng-config +} |