summaryrefslogtreecommitdiff
path: root/packages/puzzles/puzzles_r7436.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-04-09 19:05:30 +0000
committerMatthias Hentges <oe@hentges.net>2007-04-09 19:05:30 +0000
commitcaf78b5d76bb7f17e7eeede5f10160e8e95f6a7c (patch)
tree3805e65e1527acd1fbd6a6dbb6e666bbaf256576 /packages/puzzles/puzzles_r7436.bb
parent72643ef673045cda3ca0c746464bc4aa3d0fddd4 (diff)
puzzles: Use an SVN checkout with fixed rev instead of a tarball for puzzles_r7436.bb, closing bug #2091. Courtesy of slapin_nb
Diffstat (limited to 'packages/puzzles/puzzles_r7436.bb')
-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`'; "