remove unused stuff

leave only faust itself, it's libraries, and cpp architecture files that
can be used as examples.
This commit is contained in:
Bart Brouns 2014-11-24 08:07:27 +01:00
parent 0edc635d80
commit 3e714701e5
2 changed files with 7 additions and 2 deletions

View file

@ -98,6 +98,7 @@
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
ludo = "Ludovic Courtès <ludo@gnu.org>";
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
magnetophon = "Bart Brouns <bart@magnetophon.nl>";
manveru = "Michael Fellinger <m.fellinger@gmail.com>";
marcweber = "Marc Weber <marco-oweber@gmx.de>";
matejc = "Matej Cotman <cotman.matej@gmail.com>";

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, unzip, pkgconfig, gcc }:
{ fetchurl, stdenv, unzip }:
stdenv.mkDerivation rec {
@ -9,13 +9,17 @@ stdenv.mkDerivation rec {
sha256 = "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1";
};
buildInputs = [ unzip pkgconfig gcc ];
buildInputs = [ unzip ];
patchPhase=''
sed -i '77,101d' Makefile
sed -i 's#?= $(shell uname -s)#:= Linux#g' architecture/osclib/oscpack/Makefile
sed -e "s@\$FAUST_INSTALL /usr/local /usr /opt /opt/local@$out@g" -i tools/faust2appls/faustpath
'';
postInstallPhase=''
rm -rf $out/include/
'';
makeFlags="PREFIX=$(out)";