summaryrefslogtreecommitdiffstats
path: root/meta/recipes-lsb4/libpng/libpng12_1.2.52.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-lsb4/libpng/libpng12_1.2.52.bb')
-rw-r--r--meta/recipes-lsb4/libpng/libpng12_1.2.52.bb33
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 @@
1SUMMARY = "PNG image format decoding library"
2HOMEPAGE = "http://www.libpng.org/"
3SECTION = "libs"
4LICENSE = "Libpng"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4495b57387451782e5f34c2968c35ed0 \
6 file://png.h;beginline=314;endline=428;md5=0c93e62d39955f2b879c056165cfad43"
7DEPENDS = "zlib"
8
9PN = "libpng12"
10S = "${WORKDIR}/libpng-${PV}"
11
12SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz"
13
14SRC_URI[md5sum] = "49d5c71929bf69a172147c47b9309fbe"
15SRC_URI[sha256sum] = "d4fb0fbf14057ad6d0319034188fc2aecddb493da8e3031b7b072ed28f510ec0"
16
17BINCONFIG_GLOB = "${PN}-config"
18
19inherit autotools binconfig pkgconfig
20
21do_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}