added my Recipes
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From f3e04281bad361249a8dad0cde150a801d720f67 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 14 Jul 2017 18:46:52 -0700
|
||||
Subject: [PATCH] configure: Dont use uname to determine target OS
|
||||
|
||||
Helps with cross-compiling
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 6c35a72..f9714e2 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -31,7 +31,7 @@
|
||||
#DEFS += -DSCOPED_ACL
|
||||
#
|
||||
|
||||
-OS=`uname`
|
||||
+OS="Linux"
|
||||
CFG=config.mk
|
||||
TMP=`mktemp /tmp/XXXXXX`
|
||||
BUGREPORT_URL="https://github.com/troglobit/pimd/issues"
|
||||
--
|
||||
2.13.3
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon."
|
||||
HOMEPAGE = "http://troglobit.com/pimd.html"
|
||||
SECTION = "net"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=94f108f91fab720d62425770b70dd790"
|
||||
|
||||
SRC_URI = "ftp://ftp.troglobit.com/pimd/${BP}.tar.gz \
|
||||
file://0001-configure-Dont-use-uname-to-determine-target-OS.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "a3c03e40540980b2c06e265a17988e60"
|
||||
SRC_URI[sha256sum] = "c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054e19f1d"
|
||||
|
||||
EXTRA_OECONF:append:libc-musl = " --embedded-libc"
|
||||
|
||||
inherit autotools-brokensep update-alternatives
|
||||
|
||||
do_configure() {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
ALTERNATIVE:${PN} = "pimd"
|
||||
ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd"
|
||||
Reference in New Issue
Block a user