summaryrefslogtreecommitdiff
path: root/packages/mipl-mipv6
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mipl-mipv6')
-rw-r--r--packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb b/packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb
index e69de29bb2..338233eb80 100644
--- a/packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb
+++ b/packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb
@@ -0,0 +1,16 @@
+SECTION = "unknown"
+SRC_URI = "http://www.mobile-ipv6.org/software/download/mipv6-${PV}.tar.gz"
+LICENSE = "GPL"
+CFLAGS =+ "-I${S}/include -I${STAGING_KERNEL_DIR}/include"
+
+inherit autotools
+
+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}${datadir}/man" docdir="${D}${datadir}/doc/mobile-ip6" NETWORK_MIP6_CONF="${D}${sysconfdir}" install
+}