Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Enchant Spell checker API Library v2" |
| 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" |
| 12 | SRC_URI[md5sum] = "4b8abb58e00e93363591b3f5ea4f52d5" |
| 13 | SRC_URI[sha256sum] = "abd8e915675cff54c0d4da5029d95c528362266557c61c7149d53fa069b8076d" |
| 14 | |
| 15 | S = "${WORKDIR}/enchant-${PV}" |
| 16 | |
| 17 | EXTRA_OEMAKE = "pkgdatadir=${datadir}/enchant-2" |
| 18 | |
| 19 | PACKAGECONFIG ??= "hunspell" |
| 20 | PACKAGECONFIG[aspell] = "--with-aspell,--without-aspell,aspell,aspell" |
| 21 | PACKAGECONFIG[hunspell] = "--with-hunspell,--without-hunspell,hunspell,hunspell" |
| 22 | |
| 23 | FILES_${PN} += " \ |
| 24 | ${datadir}/enchant-2 \ |
| 25 | ${libdir}/enchant-2 \ |
| 26 | " |