nixpkgs/pkgs/development/compilers/fpc/binary-builder.sh

15 lines
293 B
Bash
Raw Normal View History

source $stdenv/setup
tar xf $src
2014-08-31 18:47:28 +00:00
cd */
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