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