xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/augeas/augeas.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Augeas configuration API"
2HOMEPAGE = "http://augeas.net/"
3BUGTRACKER = "https://fedorahosted.org/augeas/report/1"
4
5LICENSE = "LGPL-2.1-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
7
8SRC_URI = "http://download.augeas.net/${BP}.tar.gz \
9           file://sepbuildfix.patch \
10          "
11
12DEPENDS = "readline libxml2"
13
14inherit autotools pkgconfig
15
16PACKAGES =+ "${PN}-lenses lib${BPN}"
17
18FILES:${PN}-lenses = "${datadir}/augeas/lenses"
19FILES:lib${BPN} = "${libdir}/lib*${SOLIBS}"
20
21RDEPENDS:lib${BPN} += "${PN}-lenses"
22RRECOMMENDS:lib${BPN} += "${PN}"
23
24LEAD_SONAME = "libaugeas.so"
25
26do_install:append() {
27    rm -fr ${D}${datadir}/vim
28}
29
30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
31PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
32
33EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
34