[oe-commits] Jaap de Jong : Precision Time Protocol (PTP) as defined by the IEEE 1588 standard

git version control git at git.openembedded.org
Fri Nov 13 06:54:15 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 2ece13c424c6512ade9dc327a3b0e45eb5e87a60
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2ece13c424c6512ade9dc327a3b0e45eb5e87a60

Author: Jaap de Jong <jaap.dejong at nedap.com>
Date:   Thu Nov 12 16:49:01 2009 +0100

Precision Time Protocol (PTP) as defined by the IEEE 1588 standard

Hi there,

attached a proposal for a recipe for building the
Precision Time Protocol daemon (ptpd).

Suggestions by Michael Smith:
>
> You are also missing the addition to checksums.ini, and maybe a line to
> install the manpage so the doc package gets built.
>
are hacked into it

Jaap de Jong

Precision Time protocol (IEEE 1588)

---

 conf/checksums.ini         |    4 ++++
 recipes/ptpd/ptpd_1.0.0.bb |   16 ++++++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 55110c0..3886f92 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -21766,6 +21766,10 @@ sha256=22eae4f6c72247f8ac79c57ce4469797ad3df67614758c5096b7ce9290bd10b4
 md5=db7fd581b66998cd76d96f8b7c3f22a1
 sha256=78e290d3cf78d4dc15c7397b0edd138b4d29cf2ad0a7311bfc1c4dfb88f2a400
 
+[http://downloads.sourceforge.net/project/ptpd/ptpd/1.0.0/ptpd-1.0.0.tar.gz]
+md5=b112b2bedc7f6e6e11a838608b9e0357
+sha256=8ac1fdcad1e246b0395097dd9af29966c6823533d7e6989aae91506048fb51bc
+
 [http://pypi.python.org/packages/source/p/ptrace/ptrace-0.3.2.tar.gz]
 md5=8108c2474bef16d126e956dce3c5073b
 sha256=634fe75e195179adafb6218040724f38252bd0fc8f796bb3e3e9bdba065890c5
diff --git a/recipes/ptpd/ptpd_1.0.0.bb b/recipes/ptpd/ptpd_1.0.0.bb
new file mode 100644
index 0000000..8988913
--- /dev/null
+++ b/recipes/ptpd/ptpd_1.0.0.bb
@@ -0,0 +1,16 @@
+# ptpd build file
+LICENSE="BSD"
+DESCRIPTION="Precision Time Protocol (PTP) as defined by the IEEE 1588 standard"
+HOMEPAGE="http://sourceforge.net/projects/ptpd"
+
+SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz" 
+
+S="${WORKDIR}/ptpd-${PV}/src"
+PR = "r0"
+
+do_install() {
+        install -d ${D}${bindir} ${D}${mandir}/man8
+        install -m 4555 ptpd ${D}${bindir}
+        install -m 644 ptpd.8 ${D}${mandir}/man8
+}
+





More information about the Openembedded-commits mailing list