1 DESCRIPTION = "EFLTK is a cross-platform C++ GUI toolkit"
2 HOMEPAGE = "http://equinox-project.org/page/documentation"
6 DEPENDS = "zlib jpeg libpng libxext libxft"
9 SRC_URI = "${SOURCEFORGE_MIRROR}/ede/efltk-${PV}.tar.gz \
10 file://fix.void.cast.patch;patch=1"
11 S = "${WORKDIR}/efltk"
13 inherit autotools binconfig
22 --x-includes=${STAGING_INCDIR}/freetype2 \
23 --x-libraries=${STAGING_LIBDIR} \
26 # yes, this is nasty, but configure is so broken there is no other way
31 autotools_do_configure
36 do_configure_append() {
37 sed -i s,/usr/include,${STAGING_INCDIR}, makeinclude
38 sed -i s,/usr/include/freetype2,, makeinclude
39 sed -i s,/usr/bin/strip,echo, makeinclude
40 sed -i s,CONFIGDIR,'"${datadir}/ede/"', src/core/Fl_Config.cpp
48 install -d ${D}${libdir}
49 oe_runmake install prefix="${D}${prefix}" \
50 bindir="${D}${bindir}" \
51 libdir="${D}${libdir}" \
52 includedir="${D}${includedir}" \
53 datadir="${STAGING_DATADIR}"
56 python populate_packages_prepend () {
57 if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
58 bb.data.setVar('PKG_${PN}', 'libefltk${PV}', d)
61 LEAD_SONAME = "libefltk.so"
63 FILES_${PN} += "${libdir}/fltk/*.theme"
64 FILES_${PN}-dbg += "${libdir}/fltk/.debug"