Author: NicolasPierron
Date: Sun Apr 17 08:27:04 2011
New Revision: 26861
URL: https://svn.nixos.org/websvn/nix/?rev=26861&sc=1

Log:
mumble: Add an install phase to move files to a bin directory.

Modified:
   nixpkgs/trunk/pkgs/applications/networking/mumble/default.nix

Modified: nixpkgs/trunk/pkgs/applications/networking/mumble/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/networking/mumble/default.nix       Sun Apr 
17 08:26:56 2011        (r26860)
+++ nixpkgs/trunk/pkgs/applications/networking/mumble/default.nix       Sun Apr 
17 08:27:04 2011        (r26861)
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile,
  avahi, dbus, libcap }:
-        
+
 stdenv.mkDerivation rec {
   name = "mumble-" + version;
   version = "1.2.2";
@@ -16,13 +16,18 @@
   '';
 
   configurePhase = ''
-    qmake PREFIX=$out CONFIG+=no-g15 CONFIG+=no-update \
+    qmake CONFIG+=no-g15 CONFIG+=no-update \
       CONFIG+=no-embed-qt-translations CONFIG+=no-ice
   '';
 
   buildInputs = [ qt4 libvorbis boost speechd protobuf libsndfile avahi dbus
     libcap ];
 
+  installPhase = ''
+    ensureDir $out
+    cp -r ./release $out/bin
+  '';
+
   meta = { 
     homepage = http://mumble.sourceforge.net/;
     description = "Low-latency, high quality voice chat software";
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to