diff options
author | Roman I Khimov <khimov@altell.ru> | 2009-04-30 23:46:56 +0400 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2009-05-02 09:22:49 +0400 |
commit | ed293046eb0a06a0c787e9b0719a9299cbd49173 (patch) | |
tree | 17a0c1130f6ddcfb296d101e1e103afe93011ecf /recipes | |
parent | 7eef95e87b36d56c240add362f977dd20e240a8a (diff) |
bridge-utils: add version 1.4
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/bridge-utils/bridge-utils.inc | 24 | ||||
-rw-r--r-- | recipes/bridge-utils/bridge-utils_1.2.bb | 28 | ||||
-rw-r--r-- | recipes/bridge-utils/bridge-utils_1.4.bb | 1 |
3 files changed, 27 insertions, 26 deletions
diff --git a/recipes/bridge-utils/bridge-utils.inc b/recipes/bridge-utils/bridge-utils.inc new file mode 100644 index 0000000000..ba4d5827d8 --- /dev/null +++ b/recipes/bridge-utils/bridge-utils.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "Tools for ethernet bridging." +HOMEPAGE = "http://bridge.sourceforge.net/" +SECTION = "console/network" +LICENSE = "GPL" +DEPENDS = "sysfsutils" +RRECOMMENDS = "kernel-module-bridge" + +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} +} + +pkg_postinst_${PN} () { + update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100 +} + +pkg_prerm_${PN} () { + update-alternatives --remove brctl brctl.${PN} +} 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" diff --git a/recipes/bridge-utils/bridge-utils_1.4.bb b/recipes/bridge-utils/bridge-utils_1.4.bb new file mode 100644 index 0000000000..1c2dea6cb9 --- /dev/null +++ b/recipes/bridge-utils/bridge-utils_1.4.bb @@ -0,0 +1 @@ +require bridge-utils.inc |