1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/development/misc/windows-sdk/builder.sh
Eelco Dolstra d571eaafb3 * Started adding the Windows SDK.
svn path=/nixpkgs/trunk/; revision=5384
2006-06-05 19:40:14 +00:00

24 lines
476 B
Bash

source $stdenv/setup
ensureDir $out
#cabextract $src
#mkdir tmp
#cd tmp
#cabextract ../vcsetup1.cab
#rm ../vc* # reduce temporary disk usage a bit
#while read target; do
# read source
# echo "$source -> $target"
# ensureDir $out/$(dirname $target)
# cp "$source" $out/"$target"
#done < $filemap
cat > $out/setup <<EOF
export PATH="$out/bin:\$PATH"
export LIB="$(cygpath -w -p "$out/lib");\$LIB"
export INCLUDE="$(cygpath -w -p "$out/include");\$INCLUDE"
EOF