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

svn path=/nixpkgs/trunk/; revision=26861
This commit is contained in:
Nicolas Pierron 2011-04-17 08:27:04 +00:00
parent ebc8642aec
commit d53592905e

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile, { stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile,
avahi, dbus, libcap }: avahi, dbus, libcap }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mumble-" + version; name = "mumble-" + version;
version = "1.2.2"; version = "1.2.2";
@ -16,13 +16,18 @@ stdenv.mkDerivation rec {
''; '';
configurePhase = '' 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 CONFIG+=no-embed-qt-translations CONFIG+=no-ice
''; '';
buildInputs = [ qt4 libvorbis boost speechd protobuf libsndfile avahi dbus buildInputs = [ qt4 libvorbis boost speechd protobuf libsndfile avahi dbus
libcap ]; libcap ];
installPhase = ''
ensureDir $out
cp -r ./release $out/bin
'';
meta = { meta = {
homepage = http://mumble.sourceforge.net/; homepage = http://mumble.sourceforge.net/;
description = "Low-latency, high quality voice chat software"; description = "Low-latency, high quality voice chat software";