aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/opendataplane/opendataplane_0.2.bb
blob: 6f7f601b10ee933797b2757070ae29174cbd0f6c (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
require ${BPN}.inc

#odp-0.2 tag
SRCREV  = "6007d8833a6880abedf98f792586c0cfb9f10de0"
PV = "0.2"

#0.2 still using pure Makefile

#override the Makefile DESTDIR
export DESTDIR="${D}${exec_prefix}"

do_install () {
    oe_runmake install
    
    #move DESTDIR/share/odp/odp_x usr/bin
    install -d ${D}${bindir}
    for i in ${DESTDIR}/share/odp/*; do
        filename=`basename $i`
        mv ${DESTDIR}/share/odp/${filename} ${D}${bindir}/${filename}
    done
    rm -rf ${DESTDIR}/share
}

#non standard doc install location
FILES_${PN}-doc += "${exec_prefix}/doc/*"