summaryrefslogtreecommitdiff
path: root/packages/mipl-mipv6/mipv6_1.1-v2.4.26.bb
blob: 48f7e4676185b339c8c1261411a9182fec648c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SECTION = "unknown"
SRC_URI = "http://www.mobile-ipv6.org/software/download/mipv6-${PV}.tar.gz \
        patch://sbindir.patch;pnum=0;patch=1""
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
}