summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
blob: 2d63119750768af3d4eb4468741e421aa7c3d179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "ssmping is a tool for checking whether one can receive SSM from a given host"
HOMEPAGE = "http://www.venaas.no/multicast/ssmping/"
SECTION = "net"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://asmping.c;beginline=2;endline=11;md5=1ca8d1a1ca931e5cfe604ebf20a78b71"

SRC_URI = "http://www.venaas.no/multicast/ssmping/${BP}.tar.gz \
    file://0001-Makefile-tweak-install-dir.patch \
"
SRC_URI[md5sum] = "ad8e3d13f6d72918f73be7e7975d7fad"
SRC_URI[sha256sum] = "22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d"

CFLAGS += "-D_GNU_SOURCE "

do_install() {
    oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
}

# http://errors.yoctoproject.org/Errors/Details/766895/
# ssmping.c:55:51: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
CFLAGS += "-Wno-error=incompatible-pointer-types"