3
0
Fork 0
forked from mirrors/nixpkgs

Make fpc binary builder more explicit and more verbose

svn path=/nixpkgs/trunk/; revision=19445
This commit is contained in:
Michael Raskin 2010-01-14 20:35:04 +00:00
parent b1e3a16f2f
commit f573c32327

View file

@ -2,9 +2,11 @@ source $stdenv/setup
tar xf $src
tarballdir=$(pwd)
for i in *.tar; do tar xf $i; done
for i in *.tar; do tar xvf $i; done
echo "Deploying binaries.."
mkdir $out
cd $out
for i in $tarballdir/*.gz; do tar xf $i; done
ln -fs $out/lib/fpc/*/ppc386 $out/bin
for i in $tarballdir/*.gz; do tar xvf $i; done
echo "Creating ppc386 symlink.."
ln -fs $out/lib/fpc/*/ppc386 $out/bin/ppc386