summaryrefslogtreecommitdiff
path: root/meta/packages
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 /meta/packages
parent939f89875c0f343c2d074633ec33e021aa45c5aa (diff)
downloadopenembedded-core-73808fd7a93b884a776fde31ea9e8bfe1944e8dc.tar.gz
openembedded-core-73808fd7a93b884a776fde31ea9e8bfe1944e8dc.tar.bz2
openembedded-core-73808fd7a93b884a776fde31ea9e8bfe1944e8dc.zip
puzzles: Fix packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@834 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-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 = " \
export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR}/pkg-config gtk+-2.0 --cflags`'; "
FILES_${PN} = "${prefix}/games/* ${datadir}/applications/* ${datadir}/pixmaps"
+FILES_${PN}-dbg += "${prefix}/games/.debug"
do_install () {
+ rm -rf ${D}/*
export prefix=${D}
export DESTDIR=${D}
- install -d ${D}/${prefix}
- install -d ${D}/${prefix}/games
+ install -d ${D}/${prefix}/
+ install -d ${D}/${prefix}/games/
oe_runmake install
- install -d ${D}/${datadir}
- install -d ${D}/${datadir}/applications
- install -d ${D}/${datadir}/pixmaps
+ install -d ${D}/${datadir}/
+ install -d ${D}/${datadir}/applications/
+ install -d ${D}/${datadir}/pixmaps/
- install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps
+ install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps/
cd ${D}/${prefix}/games
for prog in *; do