* Got rid of a lot of "postInstall=postInstall" and similar lines in

builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
This commit is contained in:
Eelco Dolstra
2009-04-23 13:31:10 +00:00
parent 0f10222e4e
commit 7689a348c4
88 changed files with 120 additions and 387 deletions
@@ -1,16 +0,0 @@
source $stdenv/setup
preConfigure() {
cd unix
}
preConfigure=preConfigure
postInstall() {
make install-private-headers
ln -s $out/bin/tclsh8.4 $out/bin/tclsh
}
postInstall=postInstall
genericBuild
@@ -2,11 +2,19 @@
stdenv.mkDerivation {
name = "tcl-8.4.18";
builder = ./builder.sh;
src = fetchurl {
url = mirror://sourceforge/tcl/tcl8.4.18-src.tar.gz;
sha256 = "197h3m2lc5a6famc683zhjp55774gf8zwggfy2893v48lp5p7qny";
};
preConfigure = "cd unix";
postInstall = ''
make install-private-headers
ln -s $out/bin/tclsh8.4 $out/bin/tclsh
'';
meta = {
description = "The Tcl scription language";
homepage = http://www.tcl.tk/;