summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/puzzles/puzzles_r7436.bb13
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/puzzles/puzzles_r7436.bb b/packages/puzzles/puzzles_r7436.bb
index 9b3b3842c7..fc2997fcf8 100644
--- a/packages/puzzles/puzzles_r7436.bb
+++ b/packages/puzzles/puzzles_r7436.bb
@@ -1,10 +1,19 @@
DEPENDS = "gtk+ libxt"
-PR = "r2"
-SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz \
+PR = "r3"
+
+SVN_REV = "${@bb.data.getVar('PV',d,1).replace('r', '')}"
+
+SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;proto=svn;rev=${SVN_REV} \
file://game.png"
+S = "${WORKDIR}/puzzles"
+
+do_configure () {
+ ./mkfiles.pl
+}
+
do_compile_prepend = " \
export XLDFLAGS='${LDFLAGS} `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --libs`'; \
export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --cflags`'; "