* 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:
@@ -4,14 +4,10 @@ preBuild() {
|
||||
cd src
|
||||
}
|
||||
|
||||
preBuild=preBuild
|
||||
|
||||
preInstall() {
|
||||
ensureDir $out/bin
|
||||
}
|
||||
|
||||
preInstall=preInstall
|
||||
|
||||
postInstall() {
|
||||
# Install the "prefabs".
|
||||
ensureDir $out/share/ploticus/prefabs && \
|
||||
@@ -34,7 +30,4 @@ EOF
|
||||
ln -s "$out/man/man1/pl.1" "$out/man/man1/ploticus.1"
|
||||
}
|
||||
|
||||
postInstall=postInstall
|
||||
|
||||
|
||||
genericBuild
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
source $stdenv/setup
|
||||
|
||||
patchPhase=patchPhase
|
||||
patchPhase() {
|
||||
for i in $patches; do
|
||||
header "applying patch $i" 3
|
||||
@@ -25,14 +24,12 @@ configureImakefiles() {
|
||||
cp tmpsed transfig/Imakefile
|
||||
}
|
||||
|
||||
buildPhase=buildPhase
|
||||
buildPhase() {
|
||||
xmkmf
|
||||
make Makefiles
|
||||
make
|
||||
}
|
||||
|
||||
preInstall=preInstall
|
||||
preInstall() {
|
||||
ensureDir $out
|
||||
ensureDir $out/lib
|
||||
|
||||
Reference in New Issue
Block a user