2006-12-10 23:24:42 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2008-02-12 09:42:33 +01:00
|
|
|
eval "$preInstall"
|
|
|
|
|
2006-12-10 23:24:42 +01:00
|
|
|
args=
|
|
|
|
|
|
|
|
target=$out
|
|
|
|
if test -n "$dir"; then
|
|
|
|
target=$out/$dir/$name
|
|
|
|
ensureDir $out/$dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
substituteAll $src $target
|
|
|
|
|
|
|
|
if test -n "$isExecutable"; then
|
|
|
|
chmod +x $target
|
|
|
|
fi
|
2008-02-12 09:42:33 +01:00
|
|
|
|
|
|
|
eval "$postInstall"
|