blob: 72603045c8df627b36a07aadd610655b23f422fe [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Enchant Spell checker API Library"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "A library (and command-line program) that wraps a number of \
3different spelling libraries and programs with a consistent interface."
Andrew Geissler82c905d2020-04-13 13:39:40 -05004SECTION = "libs"
5HOMEPAGE = "https://abiword.github.io/enchant/"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06006BUGTRACKER = "https://github.com/AbiWord/enchant/issues/"
Andrew Geissler82c905d2020-04-13 13:39:40 -05007LICENSE = "LGPLv2.1+"
Andrew Geissler6ce62a22020-11-30 19:58:47 -06008LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
Andrew Geissler82c905d2020-04-13 13:39:40 -05009
10DEPENDS = "glib-2.0"
11
12inherit autotools pkgconfig
13
14SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050015SRC_URI[sha256sum] = "7b4b1afcf2cd8bfa691deea6188404d337f23174bbc39b9c2add2bf340736e9c"
Andrew Geissler82c905d2020-04-13 13:39:40 -050016
17UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases"
18
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
Patrick Williams213cb262021-08-07 19:21:33 -050027FILES:${PN} += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050028 ${datadir}/enchant-2 \
29 ${libdir}/enchant-2 \
30"
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a"