Patchwork [RFC] Add qextserialport recipe.

login
register
mail settings
Submitter Marc Reilly
Date Dec. 22, 2010, 2:50 a.m.
Message ID <1292986254-24531-2-git-send-email-marc@cpdesign.com.au>
Download mbox | patch
Permalink /patch/106/
State Accepted
Headers show

Comments

Marc Reilly - Dec. 22, 2010, 2:50 a.m.
Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
---
 recipes/qextserialport/qextserialport-e_hg.bb |    4 ++++
 recipes/qextserialport/qextserialport.inc     |   25 +++++++++++++++++++++++++
 recipes/qextserialport/qextserialport_hg.bb   |    4 ++++
 3 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 recipes/qextserialport/qextserialport-e_hg.bb
 create mode 100644 recipes/qextserialport/qextserialport.inc
 create mode 100644 recipes/qextserialport/qextserialport_hg.bb
Khem Raj - Dec. 22, 2010, 4:14 a.m.
On Tue, Dec 21, 2010 at 6:50 PM, Marc Reilly <marc@cpdesign.com.au> wrote:
> Signed-off-by: Marc Reilly <marc@cpdesign.com.au>

thank you for your conrtribution

> ---
>  recipes/qextserialport/qextserialport-e_hg.bb |    4 ++++
>  recipes/qextserialport/qextserialport.inc     |   25 +++++++++++++++++++++++++
>  recipes/qextserialport/qextserialport_hg.bb   |    4 ++++
>  3 files changed, 33 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/qextserialport/qextserialport-e_hg.bb
>  create mode 100644 recipes/qextserialport/qextserialport.inc
>  create mode 100644 recipes/qextserialport/qextserialport_hg.bb
>
> diff --git a/recipes/qextserialport/qextserialport-e_hg.bb b/recipes/qextserialport/qextserialport-e_hg.bb
> new file mode 100644
> index 0000000..f106ebd
> --- /dev/null
> +++ b/recipes/qextserialport/qextserialport-e_hg.bb
> @@ -0,0 +1,4 @@
> +inherit qt4e
> +
> +require qextserialport.inc
> +
> diff --git a/recipes/qextserialport/qextserialport.inc b/recipes/qextserialport/qextserialport.inc
> new file mode 100644
> index 0000000..1f3cd6b
> --- /dev/null
> +++ b/recipes/qextserialport/qextserialport.inc
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "Serial Port Library for Qt"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +
> +PV = "0.0+${PR}+hg${SRCREV}"
> +PR = "r0"
> +
> +SRCREV = "default"
> +SRC_URI = "hg://qextserialport.googlecode.com/hg;rev=${SRCREV};module=qextserialport;proto=https"
> +
> +S = "${WORKDIR}/qextserialport"
> +
> +do_stage() {
> +       oe_libinstall -so -C src/build libqextserialport ${STAGING_LIBDIR}
> +       cp -pPR src/*.h ${STAGING_INCDIR}
> +}
> +

get rid of do_stage its no more required. staging is done from install now.

> +do_install() {
> +       install -d ${D}${libdir} \
> +                  ${D}${includedir}
> +       oe_libinstall -so -C src/build libqextserialport ${D}${libdir}
> +       cp -pPR src/*.h ${D}${includedir}
> +}
> +
> +FILES_${PN} = "${libdir}"
> diff --git a/recipes/qextserialport/qextserialport_hg.bb b/recipes/qextserialport/qextserialport_hg.bb
> new file mode 100644
> index 0000000..3464131
> --- /dev/null
> +++ b/recipes/qextserialport/qextserialport_hg.bb
> @@ -0,0 +1,4 @@
> +inherit qt4x11
> +
> +require qextserialport.inc
> +
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/recipes/qextserialport/qextserialport-e_hg.bb b/recipes/qextserialport/qextserialport-e_hg.bb
new file mode 100644
index 0000000..f106ebd
--- /dev/null
+++ b/recipes/qextserialport/qextserialport-e_hg.bb
@@ -0,0 +1,4 @@ 
+inherit qt4e
+
+require qextserialport.inc
+
diff --git a/recipes/qextserialport/qextserialport.inc b/recipes/qextserialport/qextserialport.inc
new file mode 100644
index 0000000..1f3cd6b
--- /dev/null
+++ b/recipes/qextserialport/qextserialport.inc
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "Serial Port Library for Qt"
+SECTION = "libs"
+PRIORITY = "optional"
+
+PV = "0.0+${PR}+hg${SRCREV}"
+PR = "r0"
+
+SRCREV = "default"
+SRC_URI = "hg://qextserialport.googlecode.com/hg;rev=${SRCREV};module=qextserialport;proto=https"
+
+S = "${WORKDIR}/qextserialport"
+
+do_stage() {
+	oe_libinstall -so -C src/build libqextserialport ${STAGING_LIBDIR}
+	cp -pPR src/*.h ${STAGING_INCDIR}
+}
+
+do_install() {
+	install -d ${D}${libdir} \
+		   ${D}${includedir}
+	oe_libinstall -so -C src/build libqextserialport ${D}${libdir}
+	cp -pPR src/*.h ${D}${includedir}
+}
+
+FILES_${PN} = "${libdir}"
diff --git a/recipes/qextserialport/qextserialport_hg.bb b/recipes/qextserialport/qextserialport_hg.bb
new file mode 100644
index 0000000..3464131
--- /dev/null
+++ b/recipes/qextserialport/qextserialport_hg.bb
@@ -0,0 +1,4 @@ 
+inherit qt4x11
+
+require qextserialport.inc
+