Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Enchant Spell checker API Library" |
| 2 | SECTION = "libs" |
| 3 | HOMEPAGE = "https://abiword.github.io/enchant/" |
| 4 | LICENSE = "LGPLv2.1+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7" |
| 6 | |
| 7 | DEPENDS = "glib-2.0" |
| 8 | |
| 9 | inherit autotools pkgconfig |
| 10 | |
| 11 | SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 12 | SRC_URI[sha256sum] = "b29a3d2273f5edcbdbbb565e94bfd8ea3f9526886fcb6327b4b0f72f0d722f3c" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | |
| 14 | UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases" |
| 15 | |
| 16 | S = "${WORKDIR}/enchant-${PV}" |
| 17 | |
| 18 | EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2" |
| 19 | |
| 20 | PACKAGECONFIG ??= "aspell" |
| 21 | PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell" |
| 22 | PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell" |
| 23 | |
| 24 | FILES_${PN} += " \ |
| 25 | ${datadir}/enchant-2 \ |
| 26 | ${libdir}/enchant-2 \ |
| 27 | " |
| 28 | FILES_${PN}-staticdev += "${libdir}/enchant-2/*.a" |