2 DEPENDS
= "microwindows"
3 RDEPENDS
= "microwindows"
4 DESCRIPTION
= "fltk library for microwindows."
5 SRC_URI
= "ftp://ftp.microwindows.org/pub/microwindows/flnx/flnx-${PV}-tar.gz \
6 file://gcc3.patch;patch=1"
12 EXTRA_OECONF
= "--with-microwin=${STAGING_LIBDIR}/.."
16 bb.build.exec_func
("base_do_fetch", d
)
17 if os.access
(bb.
data.expand
("${DL_DIR}/flnx-${PV}-tar.gz", d
), os.R_OK
):
18 os.rename
(bb.
data.expand
("${DL_DIR}/flnx-${PV}-tar.gz", d
), bb.
data.expand
("${DL_DIR}/flnx-${PV}.tar.gz", d
))
22 src_uri
= bb.
data.getVar
("SRC_URI", d
)
23 src_uri
= src_uri.
replace("-tar", ".tar")
24 bb.
data.setVar
("SRC_URI", src_uri
, d
)
25 bb.build.exec_func
("base_do_unpack", d
)
29 oe_runmake
"bindir=${D}${bindir}" \
30 "libdir=${D}${libdir}" \
31 "includedir=${D}${includedir}" install