[oe] [PATCH] ptpd: added recipe for v1.1.0.

Jaap de Jong jaap.dejong at nedap.com
Thu Aug 4 13:49:51 UTC 2011


On 08/04/2011 03:32 PM, Chris Verges wrote:
> Signed-off-by: Chris Verges<kg4ysn at 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"







More information about the Openembedded-devel mailing list