blob: c7aeafa3eed301fdd51d3bb75e2f41050cf38407 (
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
|
DESCRIPTION = "MNG Library"
SECTION = "libs"
DEPENDS = "zlib jpeg lcms"
LICENSE = "libmng"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/libmng/libmng-${PV}.tar.gz \
file://ldflags.patch"
inherit pkgconfig
EXTRA_OEMAKE_append = " ZLIBINC=${STAGING_INCDIR} ZLIBLIB=${STAGING_LIBDIR} \
JPEGINC= JPEGLIB= LCMSINC= LCMSLIB="
do_compile() {
oe_runmake -f makefiles/makefile.linux
}
do_stage() {
oe_libinstall -so libmng ${STAGING_LIBDIR}
install -m 0644 ${S}/libmng.h ${STAGING_INCDIR}/
install -m 0644 ${S}/libmng_conf.h ${STAGING_INCDIR}/
install -m 0644 ${S}/libmng_types.h ${STAGING_INCDIR}/
}
do_install() {
install -d ${D}${bindir} ${D}${mandir} \
${D}${libdir} ${D}${includedir}
oe_runmake -f makefiles/makefile.linux install \
INCPATH="${D}${includedir}" LIBPATH="${D}${libdir}" prefix=${prefix}
}
SRC_URI[md5sum] = "d688ca879c934e9cde8b323cf3025f89"
SRC_URI[sha256sum] = "321c2dc105dfbe61ddde859040c79dec65e4daef8fb44167484d1ce99119c14c"
|