aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-03-03 12:28:18 -0700
committerTom Rini <tom_rini@mentor.com>2011-03-07 10:51:47 -0700
commit82040fcd3a008b8c3054dda170af00fe85106d7d (patch)
treeb4efd70c3abf989dfe658f6852d516e693d2cc90
parent84812c64e7146d75004b3eeecae22b6d1118c1fb (diff)
downloadopenembedded-82040fcd3a008b8c3054dda170af00fe85106d7d.tar.gz
openredalert: Switch to subdir= in SRC_URI
Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/cnc/openredalert_r438.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes/cnc/openredalert_r438.bb b/recipes/cnc/openredalert_r438.bb
index 8ff80e991d..2d1b93146d 100644
--- a/recipes/cnc/openredalert_r438.bb
+++ b/recipes/cnc/openredalert_r438.bb
@@ -3,14 +3,12 @@ LICENSE = "GPLv2"
DEPENDS = "virtual/libsdl libsdl-mixer"
-SRC_URI = "http://openredalert.googlecode.com/files/openredalert-${PV}-src.tar.gz \
+SRC_URI = "http://openredalert.googlecode.com/files/openredalert-${PV}-src.tar.gz;subdir=${BPN}-${PV} \
file://gcc43-fix.patch \
file://openredalert-launcher"
PR = "r1"
-S = "${WORKDIR}"
-
CFLAGS_append = " -I. -I${STAGING_INCDIR}"
do_compile() {
@@ -24,7 +22,7 @@ do_install() {
install -m 0755 ${S}/src/openredalert ${D}/${datadir}/games/redalert/
install -d ${D}/${bindir}
- install -m 0755 ${S}/openredalert-launcher ${D}/${bindir}
+ install -m 0755 ${WORKDIR}/openredalert-launcher ${D}/${bindir}
}
FILES_${PN} += "${datadir}/games/redalert/"