0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
15 lines
340 B
Bash
Executable file
15 lines
340 B
Bash
Executable file
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
|
source $stdenv/setup
|
|
|
|
tar xf $src
|
|
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
|