summaryrefslogtreecommitdiff
path: root/recipes/bridge-utils/bridge-utils_1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/bridge-utils/bridge-utils_1.2.bb')
-rw-r--r--recipes/bridge-utils/bridge-utils_1.2.bb28
1 files changed, 2 insertions, 26 deletions
diff --git a/recipes/bridge-utils/bridge-utils_1.2.bb b/recipes/bridge-utils/bridge-utils_1.2.bb
index 51414f56a1..dd1def40fd 100644
--- a/recipes/bridge-utils/bridge-utils_1.2.bb
+++ b/recipes/bridge-utils/bridge-utils_1.2.bb
@@ -1,26 +1,2 @@
-DESCRIPTION = "Tools for ethernet bridging."
-HOMEPAGE = "http://bridge.sourceforge.net/"
-SECTION = "console/network"
-LICENSE = "GPL"
-DEPENDS = "sysfsutils"
-RRECOMMENDS = "kernel-module-bridge"
-PR = "r1"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz"
-
-inherit autotools
-
-EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
-
-do_install () {
- autotools_do_install
- mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
-}
-
-pkg_postinst_${PN} () {
- update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100
-}
-
-pkg_prerm_${PN} () {
- update-alternatives --remove brctl brctl.${PN}
-}
+require bridge-utils.inc
+PR = "r2"