blob: 5a6a3157a6a2cd8a48c73b69390b889106e39e02 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Enchant Spell checker API Library"
2DESCRIPTION = "A library (and command-line program) that wraps a number of \
3different spelling libraries and programs with a consistent interface."
4SECTION = "libs"
5HOMEPAGE = "https://abiword.github.io/enchant/"
6BUGTRACKER = "https://github.com/AbiWord/enchant/issues/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00007LICENSE = "LGPL-2.1-or-later"
Andrew Geissler595f6302022-01-24 19:11:47 +00008LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
9
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050010DEPENDS = "glib-2.0 groff-native"
Andrew Geissler595f6302022-01-24 19:11:47 +000011
Andrew Geissler87f5cff2022-09-30 13:13:31 -050012inherit autotools pkgconfig github-releases
Andrew Geissler595f6302022-01-24 19:11:47 +000013
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/enchant-${PV}.tar.gz"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050015SRC_URI[sha256sum] = "1f7e26744db1c9a0fea61d2169f4e5c1ce435cf8c2731c37e3e4054119e994a0"
Andrew Geissler595f6302022-01-24 19:11:47 +000016
Andrew Geissler87f5cff2022-09-30 13:13:31 -050017GITHUB_BASE_URI = "https://github.com/AbiWord/enchant/releases"
Andrew Geissler595f6302022-01-24 19:11:47 +000018
19S = "${WORKDIR}/enchant-${PV}"
20
21EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2"
22
23PACKAGECONFIG ??= "aspell"
24PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell"
25PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell"
26
27FILES:${PN} += " \
28 ${datadir}/enchant-2 \
29 ${libdir}/enchant-2 \
30"
31FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a"