1 DESCRIPTION = "Microwindows Graphical Engine"
4 DEPENDS = "libpng jpeg zlib"
13 ARMTOOLSPREFIX=${TARGET_PREFIX} \
14 INCJPEG=${STAGING_INCDIR} \
15 LIBJPEG=${STAGING_LIBDIR}/libjpeg.so \
16 INCPNG=${STAGING_INCDIR} \
17 LIBPNG=${STAGING_LIBDIR}/libpng.so \
18 LIBZ=${STAGING_LIBDIR}/libz.so \
19 INSTALL_PREFIX=${D}${prefix} \
25 cp ${WORKDIR}/defconfig ${S}/src/config
30 install -m 0644 ${S}/src/include/nano-X.h ${STAGING_INCDIR}/
31 install -m 0644 ${S}/src/include/mwtypes.h ${STAGING_INCDIR}/
32 install -m 0644 ${S}/src/include/nxcolors.h ${STAGING_INCDIR}/
33 install -m 0644 ${S}/src/include/nxdraw.h ${STAGING_INCDIR}/
34 install -m 0755 ${S}/src/lib/*.so ${STAGING_LIBDIR}/
35 install -m 0644 ${S}/src/lib/*.a ${STAGING_LIBDIR}/
39 oe_runmake install all
41 # the next 3 lines are necessary for snapshot build since it has CVS cruft in the tarball
42 rm -rf ${S}/src/lib/CVS
43 rm -rf ${S}/src/bin/CVS
44 rm -f ${S}/src/bin/fonts
46 # convbdf is a host tool - don't install it
47 mkdir ${S}/src/hostbin
48 mv ${S}/src/bin/convbdf ${S}/src/hostbin
50 install -d ${D}${bindir} ${D}$bindir}/fonts ${D}${libdir}
51 install -m 0755 ${S}/src/lib/* ${D}${libdir}/
52 install -m 0755 ${S}/src/bin/* ${D}${bindir}/
55 FILES_${PN}="${bindir}/* ${libdir}/*"