summaryrefslogtreecommitdiff
path: root/recipes/mipl-mipv6/mipv6_2.0.2.bb
blob: 0549ae2b8b785622744a9242812cbfd6e81ca83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
LICENSE = "GPL"
DEPENDS = "virtual/kernel"
RRECOMMENDS_${PN} = "kernel-module-mip6 kernel-module-ipv6"

SRC_URI = "http://www.mobile-ipv6.org/software/download/mipv6-${PV}.tar.gz"
PR = "r1"

inherit autotools module-base

CFLAGS =+ "-I${S}/include -I${STAGING_KERNEL_DIR}/include"

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
}

PACKAGE_ARCH_pn-${PN} = "${MACHINE_ARCH}"


SRC_URI[md5sum] = "2cf58dca0ab3c38223e25dbecba8ed37"
SRC_URI[sha256sum] = "474443cd4c80d958ea34e3645dab641868e5b6714854a4122b7e3753a20a2eb9"