2006-12-10 22:24:42 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2008-02-12 08:42:33 +00:00
|
|
|
eval "$preInstall"
|
|
|
|
|
2006-12-10 22:24:42 +00: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 08:42:33 +00:00
|
|
|
|
|
|
|
eval "$postInstall"
|