Patchwork [meta-networking,2/3] libdnet: add recipe

login
register
mail settings
Submitter chunrong guo
Date Sept. 23, 2013, 9:12 a.m.
Message ID <1379927555-17194-1-git-send-email-b40290@freescale.com>
Download mbox | patch
Permalink /patch/58529/
State Changes Requested
Headers show

Comments

chunrong guo - Sept. 23, 2013, 9:12 a.m.
From: Chunrong Guo <B40290@freescale.com>

     *dumb networking library
     *snort depends libdnet

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
Khem Raj - Sept. 23, 2013, 3:51 p.m.
On Monday, September 23, 2013,  <b40290@freescale.com> wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
>      *dumb networking library
>      *snort depends libdnet
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
>  .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   16
++++++++++++++++
>  1 files changed, 16 insertions(+), 0 deletions(-)
>  create mode 100644 meta-networking/recipes-connectivity/libdnet/
libdnet_1.12.bb
>
> diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bbb/meta-networking/recipes-connectivity/libdnet/
libdnet_1.12.bb
> new file mode 100644
> index 0000000..88b893b
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "dumb networking library"
> +HOMEPAGE = "http://code.google.com/p/libdnet/"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
> +
> +SRC_URI = "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz"
> +
> +SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
> +SRC_URI[sha256sum] =
"83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
> +
> +inherit autotools
> +
> +
> +do_configure_prepend() {
> +   cp ${S}/config/acinclude.m4 ${S}/
> +}

adding this path to search paths of m4 will avoid this copying

> --
> 1.7.5.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 0000000..88b893b
--- /dev/null
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,16 @@ 
+DESCRIPTION = "dumb networking library"
+HOMEPAGE = "http://code.google.com/p/libdnet/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
+
+SRC_URI = "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz"
+
+SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
+SRC_URI[sha256sum] = "83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
+
+inherit autotools 
+
+
+do_configure_prepend() {
+   cp ${S}/config/acinclude.m4 ${S}/
+}