diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/puzzles/puzzles_r6727.bb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/packages/puzzles/puzzles_r6727.bb b/meta/packages/puzzles/puzzles_r6727.bb index c3725ac8f7..f8ffcb7d01 100644 --- a/meta/packages/puzzles/puzzles_r6727.bb +++ b/meta/packages/puzzles/puzzles_r6727.bb | |||
@@ -10,19 +10,21 @@ do_compile_prepend = " \ | |||
10 | export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR}/pkg-config gtk+-2.0 --cflags`'; " | 10 | export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR}/pkg-config gtk+-2.0 --cflags`'; " |
11 | 11 | ||
12 | FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps" | 12 | FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps" |
13 | FILES_${PN}-dbg += "${prefix}/games/.debug" | ||
13 | 14 | ||
14 | do_install () { | 15 | do_install () { |
16 | rm -rf ${D}/* | ||
15 | export prefix=${D} | 17 | export prefix=${D} |
16 | export DESTDIR=${D} | 18 | export DESTDIR=${D} |
17 | install -d ${D}/${prefix} | 19 | install -d ${D}/${prefix}/ |
18 | install -d ${D}/${prefix}/games | 20 | install -d ${D}/${prefix}/games/ |
19 | oe_runmake install | 21 | oe_runmake install |
20 | 22 | ||
21 | install -d ${D}/${datadir} | 23 | install -d ${D}/${datadir}/ |
22 | install -d ${D}/${datadir}/applications | 24 | install -d ${D}/${datadir}/applications/ |
23 | install -d ${D}/${datadir}/pixmaps | 25 | install -d ${D}/${datadir}/pixmaps/ |
24 | 26 | ||
25 | install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps | 27 | install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps/ |
26 | 28 | ||
27 | cd ${D}/${prefix}/games | 29 | cd ${D}/${prefix}/games |
28 | for prog in *; do | 30 | for prog in *; do |