diff --git a/games-rpg/zsdx/zsdx-1.11.0.recipe b/games-rpg/zsdx/zsdx-1.11.0.recipe new file mode 100644 index 000000000..ad859fcda --- /dev/null +++ b/games-rpg/zsdx/zsdx-1.11.0.recipe @@ -0,0 +1,36 @@ +SUMMARY="A free 2D Zelda fangame" +DESCRIPTION="The Legend of Zelda: Mystery of Solarus DX is set to be a direct \ +sequel to The Legend of Zelda: A Link to the Past on the SNES, using the same \ +graphics and game mechanisms. Zelda Mystery of Solarus DX is the first game \ +made with the Solarus engine and in fact, Solarus was primarily designed for this game." +HOMEPAGE="http://www.zelda-solarus.com/" +COPYRIGHT="2011 Nintendo" +LICENSE="GNU GPL v3 +Attribution-ShareAlike 3.0 Unported" +REVISION="1" +SOURCE_URI="http://www.zelda-solarus.com/downloads/zsdx/zsdx-$portVersion.tar.gz" +CHECKSUM_SHA256="04c4b4bf7e0e65907a3729f43fc4387bb05813786fed21f824b83bc3b77f4af9" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE="yes" + +PROVIDES=" + zsdx = $portVersion + cmd:zsdx + " +REQUIRES=" + cmd:solarus_run + " + +INSTALL() +{ + mkdir -p $dataDir/solarus/zsdx + cp -R data $dataDir/solarus/zsdx/ + + mkdir -p $binDir + cat > $binDir/zsdx << EOF +#!/bin/sh +solarus-run $dataDir/solarus/zsdx +EOF + chmod 755 $binDir/zsdx +}