1 DESCRIPTION = "FLTK is a cross-platform C++ GUI toolkit"
3 HOMEPAGE = "http://www.fltk.org"
6 MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
7 DEPENDS = "jpeg libpng zlib"
10 SRC_URI = "cvs://anonymous:@cvs.sourceforge.net/cvsroot/fltk;module=fltk;method=pserver;tag=v1_2;date=${@oe.data.getVar('PV', d, 1)[7:]} \
11 file://makefiles.patch;patch=1 \
12 file://autotools.patch;patch=1"
15 inherit autotools binconfig
17 do_configure_prepend() {
21 FILES_${PN} = "${libdir}/lib*.so.*"
22 FILES_${PN}-dev += " ${bindir}/fltk-config"
23 LEAD_SONAME = "libfltk.so"
25 EXTRA_OECONF = "--enable-shared --disable-gl"
28 oe_runmake prefix="${D}/${prefix}" \
29 bindir="${D}/${bindir}" \
30 libdir="${D}/${libdir}" \
31 includedir="${D}/${includedir}" \
36 oe_runmake install prefix=${STAGING_DIR} \
37 bindir=${STAGING_BINDIR} \
38 includedir=${STAGING_INCDIR} \
39 libdir=${STAGING_LIBDIR} \
40 datadir=${STAGING_DATADIR}
43 python populate_packages_prepend () {
44 if (oe.data.getVar('DEBIAN_NAMES', d, 1)):
45 oe.data.setVar('PKG_${PN}', 'libfltk1.2', d)