Added Lazarus IDE for Free Pascal Compiler

svn path=/nixpkgs/trunk/; revision=11491
This commit is contained in:
Michael Raskin
2008-04-08 15:10:09 +00:00
parent 8a60c1726d
commit 14eeb7fb50
2 changed files with 43 additions and 0 deletions
@@ -12,6 +12,10 @@ stdenv.mkDerivation {
buildInputs = [startFPC gawk];
preConfigure = (if system == "i686-linux" || system == "x86_64-linux" then ''
sed -e "s@'/lib/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
'' else "");
installFlags = "INSTALL_PREFIX=\${out}";
postInstall = "ln -fs $out/lib/fpc/*/ppc386 $out/bin;
mkdir -p $out/lib/fpc/etc/ ;