blob: cfefd41beb6b202ab9cc8e8456c5c7f1d7c6911a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
SUMMARY = "PNG Library"
DESCRIPTION = "PNG Library"
HOMEPAGE = "http://www.libpng.org/"
SECTION = "libs"
LICENSE = "Libpng"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c3d807a85c09ebdff087f18b4969ff96 \
file://png.h;beginline=310;endline=424;md5=b87b5e9252a3e14808a27b92912d268d"
DEPENDS = "zlib"
PR = "r0"
PN = "libpng12"
S = "${WORKDIR}/libpng-${PV}"
SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz"
SRC_URI[md5sum] = "a3e00fccbfe356174ab515b5c00641c7"
SRC_URI[sha256sum] = "4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7"
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
}
|