wok diff opentyrian-classic/receipt @ rev 5302

slitaz-tools:make firewall and other daemons executable
author Rohit Joshi <jozee@slitaz.org>
date Mon Apr 19 12:08:24 2010 -0400 (2010-04-19)
parents 2c679ce49f4c
children aebcbcedcc6b
line diff
     1.1 --- a/opentyrian-classic/receipt	Sat Jun 13 13:32:50 2009 +0200
     1.2 +++ b/opentyrian-classic/receipt	Mon Apr 19 12:08:24 2010 -0400
     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