6 SVN_REV
= "${@bb.data.getVar('PV',d,1).replace('r', '')}"
8 SRC_URI
= "svn://svn.tartarus.org/sgt;module=puzzles;proto=svn;rev=${SVN_REV} \
11 S
= "${WORKDIR}/puzzles"
17 do_compile_prepend
= " \
18 export XLDFLAGS='${LDFLAGS} `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --libs`'; \
19 export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --cflags`'; "
21 FILES_$
{PN
} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps"
22 FILES_$
{PN
}-dbg
+= "${prefix}/games/.debug"
28 install
-d $
{D
}/$
{prefix
}/
29 install
-d $
{D
}/$
{prefix
}/games
/
32 install
-d $
{D
}/$
{datadir
}/
33 install
-d $
{D
}/$
{datadir
}/applications
/
34 install
-d $
{D
}/$
{datadir
}/pixmaps
/
36 install $
{WORKDIR
}/game.png $
{D
}/$
{datadir
}/pixmaps
/
38 cd $
{D
}/$
{prefix
}/games
41 echo
"making ${D}/${datadir}/applications/$prog.desktop"
42 cat
<<STOP > $
{D
}/$
{datadir
}/applications
/$prog.desktop
46 Exec
=$
{prefix
}/games
/$prog