blob: d83ba493e075df8f346c81bd2ec3d62f4d165fe5 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "Augeas configuration API"
2HOMEPAGE = "http://augeas.net/"
3BUGTRACKER = "https://fedorahosted.org/augeas/report/1"
4
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
7
8SRC_URI = "http://download.augeas.net/${BP}.tar.gz \
Patrick Williamsddad1a12017-02-23 20:36:32 -06009 file://sepbuildfix.patch \
Patrick Williamsddad1a12017-02-23 20:36:32 -060010 "
11
12DEPENDS = "readline libxml2"
13
14inherit autotools pkgconfig
15
16PACKAGES =+ "${PN}-lenses lib${BPN}"
17
Patrick Williams213cb262021-08-07 19:21:33 -050018FILES:${PN}-lenses = "${datadir}/augeas/lenses"
19FILES:lib${BPN} = "${libdir}/lib*${SOLIBS}"
Patrick Williamsddad1a12017-02-23 20:36:32 -060020
Patrick Williams213cb262021-08-07 19:21:33 -050021RDEPENDS:lib${BPN} += "${PN}-lenses"
22RRECOMMENDS:lib${BPN} += "${PN}"
Patrick Williamsddad1a12017-02-23 20:36:32 -060023
24LEAD_SONAME = "libaugeas.so"
25
Patrick Williams213cb262021-08-07 19:21:33 -050026do_install:append() {
Patrick Williamsddad1a12017-02-23 20:36:32 -060027 rm -fr ${D}${datadir}/vim
28}
29
Patrick Williams0ca19cc2021-08-16 14:03:13 -050030PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
31PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032
33EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"