blob: 077a2db5eac733a153be17958fb50843429020ab [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
30PACKAGECONFIG ??= ""
31PACKAGECONFIG[libselinux] = "--with-selinux,--without-selinux,libselinux"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032
33EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"