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
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/$dir
|
2006-12-10 22:24:42 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
substituteAll $src $target
|
|
|
|
|
|
|
|
if test -n "$isExecutable"; then
|
|
|
|
chmod +x $target
|
|
|
|
fi
|
2008-02-12 08:42:33 +00:00
|
|
|
|
|
|
|
eval "$postInstall"
|