busybox: enable mkfs.vfat
[openembedded.git] / recipes / libmng / libmng_1.0.8.bb
1 DESCRIPTION = "MNG Library"
2 SECTION = "libs"
3 DEPENDS = "zlib jpeg lcms"
4 LICENSE = "libmng"
5 PR = "r1"
6
7 SRC_URI = "${SOURCEFORGE_MIRROR}/libmng/libmng-${PV}.tar.gz \
8            file://ldflags.patch;patch=1"
9
10 inherit pkgconfig
11
12 EXTRA_OEMAKE_append = " ZLIBINC=${STAGING_INCDIR} ZLIBLIB=${STAGING_LIBDIR} \
13                         JPEGINC= JPEGLIB= LCMSINC= LCMSLIB="
14
15 do_compile() {
16         oe_runmake -f makefiles/makefile.linux
17 }
18
19 do_stage() {
20         oe_libinstall -so libmng ${STAGING_LIBDIR}
21         install -m 0644 ${S}/libmng.h ${STAGING_INCDIR}/
22         install -m 0644 ${S}/libmng_conf.h ${STAGING_INCDIR}/
23         install -m 0644 ${S}/libmng_types.h ${STAGING_INCDIR}/
24 }
25
26 do_install() {
27         install -d ${D}${bindir} ${D}${mandir} \
28                    ${D}${libdir} ${D}${includedir}
29         oe_runmake -f makefiles/makefile.linux install \
30         INCPATH="${D}${includedir}" LIBPATH="${D}${libdir}" prefix=${prefix}
31 }