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           file://0001-src-internal-Use-__GLIBC__-to-check-for-GNU-extentio.patch \
11          "
12SRC_URI[md5sum] = "74f1c7b8550f4e728486091f6b907175"
13SRC_URI[sha256sum] = "321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87"
14
15DEPENDS = "readline libxml2"
16
17inherit autotools pkgconfig
18
19PACKAGES =+ "${PN}-lenses lib${BPN}"
20
21FILES:${PN}-lenses = "${datadir}/augeas/lenses"
22FILES:lib${BPN} = "${libdir}/lib*${SOLIBS}"
23
24RDEPENDS:lib${BPN} += "${PN}-lenses"
25RRECOMMENDS:lib${BPN} += "${PN}"
26
27LEAD_SONAME = "libaugeas.so"
28
29do_install:append() {
30    rm -fr ${D}${datadir}/vim
31}
32
33PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
34PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
35
36EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
37