wok-6.x rev 4288
opentyrian-classic: fix build and repos
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Sep 26 13:07:07 2009 +0000 (2009-09-26) |
parents | c6c606632d4f |
children | 84783be9a1b3 |
files | opentyrian-classic/receipt |
line diff
1.1 --- a/opentyrian-classic/receipt Sat Sep 26 13:48:37 2009 +0200 1.2 +++ b/opentyrian-classic/receipt Sat Sep 26 13:07:07 2009 +0000 1.3 @@ -6,8 +6,8 @@ 1.4 SHORT_DESC="OpenTyrian is a port of the DOS shoot-em-up Tyrian" 1.5 MAINTAINER="mallory@skyrock.com" 1.6 DEPENDS="libsdl libsdl-mixer libsdl-net" 1.7 -BUILD_DEPENDS="subversion libsdl-dev libsdl-mixer-dev" 1.8 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 +BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial" 1.10 +SOURCE="opentyrian" 1.11 WEB_SITE="http://code.google.com/p/opentyrian/" 1.12 WGET_URL="" 1.13 1.14 @@ -15,10 +15,9 @@ 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 { 1.18 - cd "$WOK/$PACKAGE" 1.19 - svn checkout -$VERSION http://opentyrian.googlecode.com/svn/trunk/classic "$PACKAGE-$VERSION" 1.20 - cd $src 1.21 - make || return 1 1.22 + hg clone https://opentyrian.googlecode.com/hg/ opentyrian 1.23 + cd $SOURCE 1.24 + make release 1.25 wget http://camanis.net/tyrian/tyrian21.zip 1.26 unzip tyrian21.zip 1.27 } 1.28 @@ -30,10 +29,10 @@ 1.29 mkdir -p $fs/usr/share/applications 1.30 mkdir -p $fs/usr/share/pixmaps 1.31 mkdir -p $fs/usr/share/opentyrian 1.32 - cp $src/tyrian $fs/usr/share/opentyrian 1.33 - cp $src/opentyrian.desktop $fs/usr/share/applications 1.34 - cp $src/tyrian.xpm $fs/usr/share/pixmaps 1.35 - cp $src/tyrian21/* $fs/usr/share/opentyrian 1.36 + cp $SOURCE/tyrian $fs/usr/share/opentyrian 1.37 + cp $SOURCE/opentyrian.desktop $fs/usr/share/applications 1.38 + cp $SOURCE/tyrian.xpm $fs/usr/share/pixmaps 1.39 + cp $SOURCE/tyrian21/* $fs/usr/share/opentyrian 1.40 rm -rf $fs/usr/share/opentyrian/*exe 1.41 rm -rf $fs/usr/share/opentyrian/*doc 1.42 cat > $fs/usr/bin/tyrian <<EOF