blob: 3b890e733aa3f02f2809fb13f3d0dca2e99e18e8 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Enchant Spell checker API Library"
2SECTION = "libs"
3HOMEPAGE = "https://abiword.github.io/enchant/"
4LICENSE = "LGPLv2.1+"
Andrew Geissler6ce62a22020-11-30 19:58:47 -06005LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
7DEPENDS = "glib-2.0"
8
9inherit autotools pkgconfig
10
11SRC_URI = "https://github.com/AbiWord/enchant/releases/download/v${PV}/enchant-${PV}.tar.gz"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012SRC_URI[sha256sum] = "eab9f90d79039133660029616e2a684644bd524be5dc43340d4cfc3fb3c68a20"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14UPSTREAM_CHECK_URI = "https://github.com/AbiWord/enchant/releases"
15
16S = "${WORKDIR}/enchant-${PV}"
17
18EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2"
19
20PACKAGECONFIG ??= "aspell"
21PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell"
22PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell"
23
24FILES_${PN} += " \
25 ${datadir}/enchant-2 \
26 ${libdir}/enchant-2 \
27"
28FILES_${PN}-staticdev += "${libdir}/enchant-2/*.a"