diff options
| -rw-r--r-- | meta-networking/recipes-support/ssmping/files/0001-Makefile-tweak-install-dir.patch | 35 | ||||
| -rw-r--r-- | meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | 8 |
2 files changed, 42 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ssmping/files/0001-Makefile-tweak-install-dir.patch b/meta-networking/recipes-support/ssmping/files/0001-Makefile-tweak-install-dir.patch new file mode 100644 index 0000000000..0cb981cf7a --- /dev/null +++ b/meta-networking/recipes-support/ssmping/files/0001-Makefile-tweak-install-dir.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 693cfce5431e191a3955fd56fa822927d92c9e43 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Fri, 7 Nov 2014 14:27:00 +0800 | ||
| 4 | Subject: [PATCH] Makefile: tweak install dir | ||
| 5 | |||
| 6 | For oe-core, the man doc should be installed to /usr/share/man | ||
| 7 | rather than /usr/locale/man. | ||
| 8 | |||
| 9 | Upstream-Status: inappropriate (oe specific) | ||
| 10 | |||
| 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 12 | --- | ||
| 13 | Makefile | 6 +++--- | ||
| 14 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/Makefile b/Makefile | ||
| 17 | index b5d12f8..9b2663c 100644 | ||
| 18 | --- a/Makefile | ||
| 19 | +++ b/Makefile | ||
| 20 | @@ -14,9 +14,9 @@ install: ssmping asmping ssmpingd mcfirst | ||
| 21 | install -D asmping $(DESTDIR)$(PREFIX)/bin/asmping | ||
| 22 | install -D ssmpingd $(DESTDIR)$(PREFIX)/bin/ssmpingd | ||
| 23 | install -D mcfirst $(DESTDIR)$(PREFIX)/bin/mcfirst | ||
| 24 | - install -D ssmping.1 $(DESTDIR)$(PREFIX)/man/man1/ssmping.1 | ||
| 25 | - install -D asmping.1 $(DESTDIR)$(PREFIX)/man/man1/asmping.1 | ||
| 26 | - install -D mcfirst.1 $(DESTDIR)$(PREFIX)/man/man1/mcfirst.1 | ||
| 27 | + install -D ssmping.1 $(DESTDIR)$(PREFIX)/share/man/man1/ssmping.1 | ||
| 28 | + install -D asmping.1 $(DESTDIR)$(PREFIX)/share/man/man1/asmping.1 | ||
| 29 | + install -D mcfirst.1 $(DESTDIR)$(PREFIX)/share/man/man1/mcfirst.1 | ||
| 30 | |||
| 31 | clean: | ||
| 32 | rm -f $(OBJ) joinch.o joingrp.o ssmping asmping ssmpingd mcfirst | ||
| 33 | -- | ||
| 34 | 1.9.1 | ||
| 35 | |||
diff --git a/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb index 06d6d28fa9..0eaa7ca4cf 100644 --- a/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb +++ b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | |||
| @@ -3,8 +3,14 @@ HOMEPAGE = "http://www.venaas.no/multicast/ssmping/" | |||
| 3 | LICENSE = "ISC" | 3 | LICENSE = "ISC" |
| 4 | LIC_FILES_CHKSUM = "file://asmping.c;beginline=2;endline=11;md5=1ca8d1a1ca931e5cfe604ebf20a78b71" | 4 | LIC_FILES_CHKSUM = "file://asmping.c;beginline=2;endline=11;md5=1ca8d1a1ca931e5cfe604ebf20a78b71" |
| 5 | 5 | ||
| 6 | SRC_URI = "http://www.venaas.no/multicast/ssmping/${BP}.tar.gz" | 6 | SRC_URI = "http://www.venaas.no/multicast/ssmping/${BP}.tar.gz \ |
| 7 | file://0001-Makefile-tweak-install-dir.patch \ | ||
| 8 | " | ||
| 7 | SRC_URI[md5sum] = "ad8e3d13f6d72918f73be7e7975d7fad" | 9 | SRC_URI[md5sum] = "ad8e3d13f6d72918f73be7e7975d7fad" |
| 8 | SRC_URI[sha256sum] = "22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d" | 10 | SRC_URI[sha256sum] = "22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d" |
| 9 | 11 | ||
| 10 | CFLAGS += "-D_GNU_SOURCE " | 12 | CFLAGS += "-D_GNU_SOURCE " |
| 13 | |||
| 14 | do_install() { | ||
| 15 | oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install | ||
| 16 | } | ||
