puzzles: Use an SVN checkout with fixed rev instead of a tarball for puzzles_r7436...
authorMatthias Hentges <oe@hentges.net>
Mon, 9 Apr 2007 19:05:30 +0000 (19:05 +0000)
committerMatthias Hentges <oe@hentges.net>
Mon, 9 Apr 2007 19:05:30 +0000 (19:05 +0000)
packages/puzzles/puzzles_r7436.bb

index 9b3b384..fc2997f 100644 (file)
@@ -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`'; "