summaryrefslogtreecommitdiff
path: root/recipes/mipl-mipv6/mipv6_1.1-v2.4.26.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mipl-mipv6/mipv6_1.1-v2.4.26.bb')
-rw-r--r--recipes/mipl-mipv6/mipv6_1.1-v2.4.26.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/mipl-mipv6/mipv6_1.1-v2.4.26.bb b/recipes/mipl-mipv6/mipv6_1.1-v2.4.26.bb
new file mode 100644
index 0000000000..0f3dec1912
--- /dev/null
+++ b/recipes/mipl-mipv6/mipv6_1.1-v2.4.26.bb
@@ -0,0 +1,23 @@
+SECTION = "unknown"
+SRC_URI = "http://www.mobile-ipv6.org/software/download/mipv6-${PV}.tar.gz \
+ patch://sbindir.patch;pnum=0;patch=1 \
+ patch://outputfix.patch;pnum=0;patch=1"
+DEPENDS = "virtual/kernel"
+LICENSE = "GPL"
+CFLAGS =+ "-I${S}/include -I${STAGING_KERNEL_DIR}/include"
+
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+PR ="r3"
+
+inherit autotools module-base
+
+do_compile() {
+ oe_runmake CFLAGS="${CFLAGS}"
+}
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -d ${D}${sysconfdir}/init.d
+ oe_runmake sbindir="${D}${sbindir}" initdir="${D}${sysconfdir}/init.d" mandir="${D}${mandir}" docdir="${D}${docdir}/mobile-ip6" NETWORK_MIP6_CONF="${D}${sysconfdir}" install
+}