| Submitter | Chris Verges |
|---|---|
| Date | Aug. 4, 2011, 1:32 p.m. |
| Message ID | <1312464763-4063-1-git-send-email-kg4ysn@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/9310/ |
| State | New, archived |
| Headers | show |
Comments
On 08/04/2011 03:32 PM, Chris Verges wrote: > Signed-off-by: Chris Verges<kg4ysn@gmail.com> > --- > meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb | 19 +++++++++++++++++++ > 1 files changed, 19 insertions(+), 0 deletions(-) > create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb > > diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb > new file mode 100644 > index 0000000..87e0a69 > --- /dev/null > +++ b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb > @@ -0,0 +1,19 @@ > +DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard" > +HOMEPAGE = "http://sourceforge.net/projects/ptpd" > +LICENSE = "BSD" > +SECTION = "network" > +PR = "r1" > + > +SRC_URI = "${SOURCEFORGE_MIRROR}/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz" > + > +S = "${WORKDIR}/ptpd-${PV}/src" > + > +do_install() { > + install -d ${D}${bindir} ${D}${mandir}/man8 > + install -m 4555 ptpd ${D}${bindir} > + install -m 644 ptpd.8 ${D}${mandir}/man8 > +} > + > +SRC_URI[md5sum] = "faa4823576dd49ccc94b741ff32b03f5" > +SRC_URI[sha256sum] = "a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950" > + Why not jump to version 2.1.0 right away... DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard" HOMEPAGE = "http://sourceforge.net/projects/ptpd" LICENSE = "BSD" SECTION = "network" PR = "r0" SRC_URI = " \ http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/${P}.tar.gz \ " S = "${WORKDIR}/${P}/src" CFLAGS += "-Dlinux" LDFLAGS += "-lm -lrt" do_install() { install -d ${D}${bindir} install -m 4555 ptpd2 ${D}${bindir} install -d ${D}${mandir}/man8 install -m 644 ptpd.8 ${D}${mandir}/man8 } SRC_URI[md5sum] = "9c2ba065476f3377a0b380a56c9dd8c9" SRC_URI[sha256sum] = "80f271a58d2751824c8448a08178053a712aad1cc74d29250c0d6bf23ad12c00"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 04-08-11 15:32, Chris Verges schreef: > Signed-off-by: Chris Verges <kg4ysn@gmail.com> --- meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb | 19 +++++++++++++++++++ You're missing the 'meta-oe' tag in subject > 1 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb > > diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb new file mode 100644 index 0000000..87e0a69 --- /dev/null +++ b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Precision Time Protocol (PTP) as defined > by the IEEE 1588 standard" +HOMEPAGE = "http://sourceforge.net/projects/ptpd" +LICENSE = "BSD" +SECTION = "network" +PR = "r1" Does this actually build with LIC_FILES_CHKSUM lacking? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFOOqO/MkyGM64RGpERAjW4AJ9kB3Sw+fIGkSLAOxJMPokWzt6VPgCgsLSh Qi0j8GjGior8CwyQlKFlEGM= =9dYd -----END PGP SIGNATURE-----
> > Why not jump to version 2.1.0 right away... My project has a need for 1.1.0, so I bumped to that for now. I also haven't verified the build process to see if 2.x builds the same as 1.x. Thanks, Chris
> > Op 04-08-11 15:32, Chris Verges schreef: > > Signed-off-by: Chris Verges <kg4ysn@gmail.com> --- > meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb | 19 +++++++++++++++++++ > > You're missing the 'meta-oe' tag in subject Hi Koen, Apologies for missing this. I was following the patch guidelines at http://wiki.openembedded.net/index.php/How_to_submit_a_patch_to_OpenEmbedded. What should I have done differently? Does this actually build with LIC_FILES_CHKSUM lacking? > It builds in the 2011.03-maintenance branch of openembedded, and just assumed it would be the same in meta-oe. This is my first experience with meta-oe, so this is good feedback. What is LIC_FILES_CHKSUM and how should I use it? I didn't see anything in the OE user manual about it, so am looking forward to learning. Thanks, Chris
Patch
diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb new file mode 100644 index 0000000..87e0a69 --- /dev/null +++ b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard" +HOMEPAGE = "http://sourceforge.net/projects/ptpd" +LICENSE = "BSD" +SECTION = "network" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz" + +S = "${WORKDIR}/ptpd-${PV}/src" + +do_install() { + install -d ${D}${bindir} ${D}${mandir}/man8 + install -m 4555 ptpd ${D}${bindir} + install -m 644 ptpd.8 ${D}${mandir}/man8 +} + +SRC_URI[md5sum] = "faa4823576dd49ccc94b741ff32b03f5" +SRC_URI[sha256sum] = "a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950" +
Signed-off-by: Chris Verges <kg4ysn@gmail.com> --- meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb