3
0
Fork 0
forked from mirrors/nixpkgs

Stop using Esound

svn path=/nixpkgs/trunk/; revision=31428
This commit is contained in:
Michael Raskin 2012-01-07 21:58:20 +00:00
parent d85921798b
commit 55f39a3aff

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, builderDefs, mesa, libXi, libXt, libXext, libX11
, libXmu, freeglut, esound }:
, libXmu, freeglut }:
with builderDefs;
let localDefs = builderDefs.passthru.function (rec {
@ -9,7 +9,7 @@ with builderDefs;
url = http://ftp.de.debian.org/debian/pool/main/s/space-orbit/space-orbit_1.01.orig.tar.gz;
};
buildInputs = [mesa libXi libXt libXext libX11 libXmu freeglut esound];
buildInputs = [mesa libXi libXt libXext libX11 libXmu freeglut];
configureFlags = [];
debianPatch =
fetchurl {
@ -20,7 +20,7 @@ with builderDefs;
gunzip < ${debianPatch} | patch -Np1
cd src
sed -e 's@/usr/share/games/orbit/@'$out'/dump/@g' -i *.c
sed -e '/DIR=/d' -i Makefile
sed -e '/DIR=/d; s/-lesd//; s/-DESD//;' -i Makefile
make
ensureDir $out/bin
cp -r .. $out/dump