summary refs log tree commit diff
path: root/pkgs/development/libraries/openalSoft/default.nix
blob: dae9e90522cbf1455ced4b21459546b74ad16f26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
args:
args.stdenv.mkDerivation {
#The current release is still in a testing phase, though it should be stable
# (neither the ABI or API will break). Please try it out and let me know how it
#  works. :-)

  name = "openal-soft-testing";

  src = args.fetchurl {
    url = http://kcat.strangesoft.net/OpenAL.tar.bz2?2;
    sha256 = "7b53c3e6eda1a71010651eb058c71c9b0c86b3c15cae5f0ffeeb7222531aa97d";
  };

  buildInputs =(with args; [cmake alsaLib]);
  #phases = "buildPhase installPhase";

  buildPhase = "ensureDir \$out; cmake -DCMAKE_INSTALL_PREFIX:PATH=\$out .; make; make install;";
  
  meta = {
      description = "openal alternative";
      homepage = http://kcat.strangesoft.net/openal.html;
      license = "GPL2";
  };
}