31ff064352
* Combine most of the archives together into one file (static.bz2). * Don't depend on Subversion directories, but single files only. Otherwise any Subversion operation may cause a rebuild because something in .svn changes. It would be nice if .svn directories were filtered out when copying things to the store. * Glibc tarball: removed all .so files, /bin and /sbin, etc., and put linux-headers in the Glibc tarball. svn path=/nixpkgs/trunk/; revision=2265
19 lines
286 B
Plaintext
19 lines
286 B
Plaintext
set -e
|
|
|
|
echo "using curl executable $curl"
|
|
|
|
$curl/bin/curl "$url" > .tmp
|
|
|
|
$bunzip2 -d < .tmp | $tar xvf -
|
|
|
|
$cp -prd * $out
|
|
|
|
if test -n "$postProcess"; then
|
|
for i in $addToPath; do
|
|
export PATH=$PATH:$i/bin
|
|
done
|
|
for i in $postProcess; do
|
|
source $i
|
|
done
|
|
fi
|