From caf78b5d76bb7f17e7eeede5f10160e8e95f6a7c Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Mon, 9 Apr 2007 19:05:30 +0000 Subject: puzzles: Use an SVN checkout with fixed rev instead of a tarball for puzzles_r7436.bb, closing bug #2091. Courtesy of slapin_nb --- packages/puzzles/puzzles_r7436.bb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'packages/puzzles/puzzles_r7436.bb') 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`'; " -- cgit v1.2.3