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"
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"
66 SRC_URI
[md5sum
] = "f0300fd2fec47d4b05823297032ddb9f"
67 SRC_URI
[sha256sum
] = "9636876e3c52f0dde5d6ac097568cad9fe8ea7088e28e27a3aad19b100d4e645"