1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/compilers/fpc/binary-builder.sh

11 lines
191 B
Bash
Raw Normal View History

source $stdenv/setup
tar xf $src
tarballdir=$(pwd)
for i in *.tar; do tar xf $i; done
mkdir $out
cd $out
for i in $tarballdir/*.gz; do tar xf $i; done
ln -fs $out/lib/fpc/*/ppc386 $out/bin