Added Open Dynamics Engine

svn path=/nixpkgs/trunk/; revision=13520
This commit is contained in:
Michael Raskin 2008-11-30 16:50:05 +00:00
parent e357cb4e65
commit ed8215aca7
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,27 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "0.10.1" args;
buildInputs = with args; [
];
in
rec {
src = fetchurl {
url = "http://downloads.sourceforge.net/opende/ode-${version}.tar.bz2";
sha256 = "0bm7kmm7qvrbk40pgaszqr66pjfvnln8vjzdmcdl2h1dxi3b4dln";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "ode-" + version;
meta = {
description = "Open Dynamics Engine";
};
}

View File

@ -3523,6 +3523,9 @@ let
inherit fetchurl stdenv perl zip;
};
ode = builderDefsPackage (import ../development/libraries/ode) {
};
openal = import ../development/libraries/openal {
inherit fetchurl stdenv cmake alsaLib;
};
@ -6654,6 +6657,12 @@ let
inherit libtool gettext e2fsprogs;
};
xmoto = builderDefsPackage (import ../games/xmoto) {
inherit chipmunk sqlite curl zlib bzip2 libjpeg libpng
freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf
lua5 ode;
};
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
inherit stdenv xlibs expat libdrm;
};