enable fcsh (Adobe Flex compiler shell) - result: faster (flex / as3) compilation using mxmlc

flex sdk version bump

svn path=/nixpkgs/trunk/; revision=19196
This commit is contained in:
Marc Weber 2010-01-04 07:44:27 +00:00
parent bbf8253985
commit 568a6e56eb

View File

@ -1,10 +1,11 @@
args: with args;
stdenv.mkDerivation rec {
name = "adobe-flex-sdk-3.3.0.4852_mpl";
name = "adobe_flex_sdk_3.4.1.10084_mpl";
src = fetchurl {
url = http://flexorg.wip3.adobe.com/flexsdk/3.3.0.4852/flex_sdk_3.3.0.4852_mpl.zip;
sha256 = "1gsm774afc7zwv3hyib5n6fpdbnd0dh6z7r2amjf38fm96jw7a99";
# This is the open source distribution
url = http://fpdownload.adobe.com/pub/flex/sdk/builds/flex3/flex_sdk_3.4.1.10084_mpl.zip;
sha256 = "0bq0cnq25qyr3g64sqqc20y3mmnhgh07p3ylxd2iq0ha8cdis7z0";
};
phases="installPhase";
@ -18,9 +19,9 @@ stdenv.mkDerivation rec {
t=$out/opt/flex-sdk
ensureDir $t $out/bin
mv * $t
sed 's/ $//' -i $t/bin/mxmlc
rm $t/bin/*.exe
for i in $t/bin/mxmlc; do
rm $t/bin/*.exe $t/bin/*.bat
sed 's/ $//' -i $t/bin/*
for i in $t/bin/*; do
b="$(basename "$i")";
cat > "$out/bin/$b" << EOF
#!/bin/sh