mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
puzzles: Fix packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@834 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -10,19 +10,21 @@ do_compile_prepend = " \
|
|||||||
export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR}/pkg-config gtk+-2.0 --cflags`'; "
|
export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR}/pkg-config gtk+-2.0 --cflags`'; "
|
||||||
|
|
||||||
FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps"
|
FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps"
|
||||||
|
FILES_${PN}-dbg += "${prefix}/games/.debug"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
|
rm -rf ${D}/*
|
||||||
export prefix=${D}
|
export prefix=${D}
|
||||||
export DESTDIR=${D}
|
export DESTDIR=${D}
|
||||||
install -d ${D}/${prefix}
|
install -d ${D}/${prefix}/
|
||||||
install -d ${D}/${prefix}/games
|
install -d ${D}/${prefix}/games/
|
||||||
oe_runmake install
|
oe_runmake install
|
||||||
|
|
||||||
install -d ${D}/${datadir}
|
install -d ${D}/${datadir}/
|
||||||
install -d ${D}/${datadir}/applications
|
install -d ${D}/${datadir}/applications/
|
||||||
install -d ${D}/${datadir}/pixmaps
|
install -d ${D}/${datadir}/pixmaps/
|
||||||
|
|
||||||
install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps
|
install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps/
|
||||||
|
|
||||||
cd ${D}/${prefix}/games
|
cd ${D}/${prefix}/games
|
||||||
for prog in *; do
|
for prog in *; do
|
||||||
|
|||||||
Reference in New Issue
Block a user