blob: 2c6d4cdc8809b25f19bc3e128b14205bdf2e3958 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001SUMMARY = "Augeas configuration API"
2HOMEPAGE = "http://augeas.net/"
3BUGTRACKER = "https://fedorahosted.org/augeas/report/1"
Brad Bishopc342db32019-05-15 21:57:59 -04004
Andrew Geissler87f5cff2022-09-30 13:13:31 -05005LICENSE = "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 "
Brad Bishopc342db32019-05-15 21:57:59 -040012SRC_URI[md5sum] = "74f1c7b8550f4e728486091f6b907175"
13SRC_URI[sha256sum] = "321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014
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"