1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/development/compilers/fpc/binary-builder.sh
Michael Raskin 164bb7e1d7 Copy ppc* independently of architecture
svn path=/nixpkgs/trunk/; revision=19461
2010-01-15 10:05:29 +00:00

14 lines
287 B
Bash
Executable file

source $stdenv/setup
tar xf $src
tarballdir=$(pwd)
for i in *.tar; do tar xvf $i; done
echo "Deploying binaries.."
mkdir $out
cd $out
for i in $tarballdir/*.gz; do tar xvf $i; done
echo 'Creating ppc* symlink..'
for i in $out/lib/fpc/*/ppc*; do
ln -fs $i $out/bin/$(basename $i)
done