3
0
Fork 0
forked from mirrors/nixpkgs

add (refactored) static stuff

svn path=/nixpkgs/branches/nixos-pkgs/; revision=1679
This commit is contained in:
Armijn Hemel 2004-11-04 12:20:54 +00:00
parent a8fa64c3da
commit 53577663f5
5 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,2 @@
$extra2/bin/chmod u+w $out/include
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1

View file

@ -0,0 +1,10 @@
set -x
set -e
PATH=$coreutils/bin
mkdir $out
cat > $out/setup <<EOF
PATH=$coreutils/bin:$gnused/bin
EOF

View file

@ -0,0 +1,8 @@
set -x
set -e
echo $curl
$gunzip -d < $curl | $tar xvf -
$cp -prvd * $out

View file

@ -0,0 +1,14 @@
set -x
set -e
echo $curl
$curl/bin/curl "$url" > .tmp
$gunzip -d < .tmp | $tar xvf -
$cp -prvd * $out
if test -n "$postprocess"; then
source $postprocess
fi

Binary file not shown.