164bb7e1d7
svn path=/nixpkgs/trunk/; revision=19461
14 lines
287 B
Bash
Executable File
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
|