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