diff options
-rw-r--r-- | conf/checksums.ini | 4 | ||||
-rw-r--r-- | recipes/fltk/fltk_1.1.10.bb | 32 |
2 files changed, 36 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini index 5396659ad1..2fad0b72d8 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -7174,6 +7174,10 @@ sha256=84fa995c461066ed39c587c834414ef1a320f605b6b6e1db2d10d12fa6a587db md5=2dfdb9b44a1a08a675985bb92d1439e6 sha256=4a0d868889d5221cc6e4b96f6e8de19bd4fc770fa8e05012c6c169686088088b +[ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/1.1.10/fltk-1.1.10-source.tar.bz2] +md5=a1765594bc427ff892e36089fe1fa672 +sha256=37ada22bf2586b8dd30d84209b8b58bdcb864627e5d02ae3f2c323a29261b19a + [ftp://ftp-fourier.ujf-grenoble.fr/xcas/devel/sources/fltk-1.1.4-device.tar.gz] md5=826c6afa88c9c4da734fe7393ed59639 sha256=a0e31ad5088414aaee003586a23127a5ace7717ba4f8fb4e02cf56bb9a5c30f4 diff --git a/recipes/fltk/fltk_1.1.10.bb b/recipes/fltk/fltk_1.1.10.bb new file mode 100644 index 0000000000..778c0f35b8 --- /dev/null +++ b/recipes/fltk/fltk_1.1.10.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "FLTK is a cross-platform C++ GUI toolkit" +HOMEPAGE = "http://www.fltk.org" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" + +SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \ + file://disable_test.patch;patch=1 \ + " + +S = "${WORKDIR}/fltk-${PV}" + +inherit lib_package autotools_stage binconfig + +TARGET_CC_ARCH += "${LDFLAGS}" + +EXTRA_OECONF = "--enable-shared \ + --enable-threads \ + --enable-xdbe --enable-xft --enable-gl \ + --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}" + +do_configure() { + oe_runconf +} + +python populate_packages_prepend () { + if (bb.data.getVar('DEBIAN_NAMES', d, 1)): + bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d) +} + +LEAD_SONAME = "libfltk.so" |