mrouted-3.9.4: intitial recipe

Submitted by Andreas Oberritter on March 4, 2011, 1:12 p.m.

Details

Message ID 1299244359-5345-1-git-send-email-obi@opendreambox.org
State Superseded
Headers show

Commit Message

Andreas Oberritter March 4, 2011, 1:12 p.m.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
This was only compile-tested. It would be nice to get some feedback.

 recipes/mrouted/mrouted_3.9.4.bb |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 recipes/mrouted/mrouted_3.9.4.bb

Patch hide | download patch | download mbox

diff --git a/recipes/mrouted/mrouted_3.9.4.bb b/recipes/mrouted/mrouted_3.9.4.bb
new file mode 100644
index 0000000..4ba4111
--- /dev/null
+++ b/recipes/mrouted/mrouted_3.9.4.bb
@@ -0,0 +1,23 @@ 
+DESCRIPTION = "DVMRP multicast routing daemon"
+HOMEPAGE = "http://troglobit.com/mrouted.shtml"
+SECTION = "network"
+LICENSE = "BSD"
+
+SRC_URI = "ftp://ftp.vmlinux.org/pub/People/jocke/mrouted/mrouted-${PV}.tar.bz2"
+SRC_URI[md5sum] = "688b74fc42919d588f262e6b3c9c6d4c"
+SRC_URI[sha256sum] = "c697549b2e506a380575f7adb67e87288ef2295b97241b3a1aeb0e88b827a3e1"
+
+EXTRA_OEMAKE = " \
+        datadir=${datadir} \
+        mandir=${mandir} \
+        prefix=${prefix} \
+        sysconfdir=${sysconfdir} \
+        DESTDIR=${D} \
+"
+
+do_compile() {
+        oe_runmake
+}
+do_install() {
+        oe_runmake install
+}

Comments

Khem Raj March 4, 2011, 3:40 p.m.
On 3/4/2011 5:12 AM, Andreas Oberritter wrote:
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> ---
> This was only compile-tested. It would be nice to get some feedback.

Looks ok to me. Does it need any deps? May be building it from scratch 
will detect it if not otherwise

Acked-by: Khem Raj <raj.khem@gmail.com>

>
>   recipes/mrouted/mrouted_3.9.4.bb |   23 +++++++++++++++++++++++
>   1 files changed, 23 insertions(+), 0 deletions(-)
>   create mode 100644 recipes/mrouted/mrouted_3.9.4.bb
>
> diff --git a/recipes/mrouted/mrouted_3.9.4.bb b/recipes/mrouted/mrouted_3.9.4.bb
> new file mode 100644
> index 0000000..4ba4111
> --- /dev/null
> +++ b/recipes/mrouted/mrouted_3.9.4.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "DVMRP multicast routing daemon"
> +HOMEPAGE = "http://troglobit.com/mrouted.shtml"
> +SECTION = "network"
> +LICENSE = "BSD"
> +
> +SRC_URI = "ftp://ftp.vmlinux.org/pub/People/jocke/mrouted/mrouted-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "688b74fc42919d588f262e6b3c9c6d4c"
> +SRC_URI[sha256sum] = "c697549b2e506a380575f7adb67e87288ef2295b97241b3a1aeb0e88b827a3e1"
> +
> +EXTRA_OEMAKE = " \
> +        datadir=${datadir} \
> +        mandir=${mandir} \
> +        prefix=${prefix} \
> +        sysconfdir=${sysconfdir} \
> +        DESTDIR=${D} \
> +"
> +
> +do_compile() {
> +        oe_runmake
> +}
> +do_install() {
> +        oe_runmake install
> +}
Phil Blundell March 4, 2011, 8:34 p.m.
On Fri, 2011-03-04 at 18:34 +0100, Andreas Oberritter wrote:
> Other than using bison, there are no dependencies that I know of.
> Binutils already depends on bison, so it's always available to cross
> recipes.

That's not something you should rely on, for at least three reasons:

a) if an external toolchain is in use then the bison dependency might
not exist; or

b) future versions of binutils, or binutils-equivalents on some
particular targets, might not require bison anymore; or, last but most
significantly...

c) in a future utopia of per-recipe dynamic sysroots, the fact that some
previously-built package DEPENDed on bison-native won't necessarily mean
it is available to you.  The only things whose existence you can rely on
are the ones you mention in your own DEPENDS, and the ones that those
packages in turn have as RDEPENDS (and so on).

p.