summaryrefslogtreecommitdiff
path: root/packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb
blob: 6edcc9e7badfb78fb8c7b9f68635b9fc81d972c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}