Files
Paul Eggleton 037be68e54 bridge-utils: move to meta-networking and tweak
* Update HOMEPAGE
* Set SUMMARY instead of DESCRIPTION
* Move DEPENDS up towards the top

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00

30 lines
794 B
PHP

SUMMARY = "Tools for ethernet bridging"
HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
SECTION = "console/network"
LICENSE = "GPLv2"
DEPENDS = "sysfsutils"
SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz"
inherit autotools
EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
do_install_append () {
mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
install -d ${D}/${datadir}/bridge-utils
install -d ${D}/${sysconfdir}/network/if-pre-up.d
install -d ${D}/${sysconfdir}/network/if-post-down.d
}
RRECOMMENDS_${PN} = "kernel-module-bridge"
pkg_postinst_${PN} () {
update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100
}
pkg_prerm_${PN} () {
update-alternatives --remove brctl brctl.${PN}
}