Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | SUMMARY = "Augeas configuration API" |
| 2 | HOMEPAGE = "http://augeas.net/" |
| 3 | BUGTRACKER = "https://fedorahosted.org/augeas/report/1" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 4 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 5 | LICENSE = "LGPL-2.1-or-later" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff" |
| 7 | |
| 8 | SRC_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 Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 12 | SRC_URI[md5sum] = "74f1c7b8550f4e728486091f6b907175" |
| 13 | SRC_URI[sha256sum] = "321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 14 | |
| 15 | DEPENDS = "readline libxml2" |
| 16 | |
| 17 | inherit autotools pkgconfig |
| 18 | |
| 19 | PACKAGES =+ "${PN}-lenses lib${BPN}" |
| 20 | |
| 21 | FILES:${PN}-lenses = "${datadir}/augeas/lenses" |
| 22 | FILES:lib${BPN} = "${libdir}/lib*${SOLIBS}" |
| 23 | |
| 24 | RDEPENDS:lib${BPN} += "${PN}-lenses" |
| 25 | RRECOMMENDS:lib${BPN} += "${PN}" |
| 26 | |
| 27 | LEAD_SONAME = "libaugeas.so" |
| 28 | |
| 29 | do_install:append() { |
| 30 | rm -fr ${D}${datadir}/vim |
| 31 | } |
| 32 | |
| 33 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
| 34 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" |
| 35 | |
| 36 | EXTRA_AUTORECONF += "-I ${S}/gnulib/m4" |