summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-29 09:54:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-29 09:54:31 +0000
commit73808fd7a93b884a776fde31ea9e8bfe1944e8dc (patch)
treecf9a97c3abaf1c5b4d7bb02712f7c2a0b0e9d0b5
parent939f89875c0f343c2d074633ec33e021aa45c5aa (diff)
downloadpoky-73808fd7a93b884a776fde31ea9e8bfe1944e8dc.tar.gz
puzzles: Fix packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@834 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/puzzles/puzzles_r6727.bb14
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
12FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps" 12FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps"
13FILES_${PN}-dbg += "${prefix}/games/.debug"
13 14
14do_install () { 15do_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