netcf: use autotools-bootstrap.bbclass

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller 2015-10-30 12:31:59 +01:00 committed by Martin Jansa
parent f3e73003d0
commit 676e7016d6

View File

@ -16,19 +16,13 @@ DEPENDS += "augeas libnl libxslt libxml2 gnulib"
S = "${WORKDIR}/git"
inherit gettext autotools-brokensep pkgconfig systemd
inherit gettext autotools-bootstrap pkgconfig systemd
EXTRA_OECONF_append_class-target = " --with-driver=redhat"
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}"
PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
do_configure_prepend() {
cd ${S}
rm -f .gitmodules
./bootstrap --gnulib-srcdir=${STAGING_DATADIR}/gnulib
}
do_install_append() {
if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_unitdir}/system