Added abc 1.1.1.
svn path=/nixpkgs/trunk/; revision=5109
This commit is contained in:
17
pkgs/development/compilers/abc/soot/builder.sh
Normal file
17
pkgs/development/compilers/abc/soot/builder.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
source $stdenv/setup
|
||||
|
||||
tar zxvf $src || fail
|
||||
cd soot-* || fail
|
||||
|
||||
cat > ant.settings <<EOF
|
||||
polyglot.jar=$polyglot/jars/polyglot.jar
|
||||
jasmin.jar=$jasmin/jars/jasmin.jar
|
||||
soot.version=foo
|
||||
release.loc=lib
|
||||
javaapi.url=http://java.sun.com/j2se/1.4.2/docs/api/
|
||||
EOF
|
||||
|
||||
$apacheAnt/bin/ant classesjar || fail
|
||||
|
||||
ensureDir $out/jars/ || fail
|
||||
mv lib/sootclasses-foo.jar $out/jars/soot.jar || fail
|
||||
13
pkgs/development/compilers/abc/soot/default.nix
Normal file
13
pkgs/development/compilers/abc/soot/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, apacheAnt, polyglot, jasmin}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "soot-dev-20060319162437";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://abc.comlab.ox.ac.uk/dists/1.1.1/files/soot-dev-20060319162437.tar.gz;
|
||||
md5 = "5657edcb5de974514f151aca37112630";
|
||||
};
|
||||
|
||||
inherit apacheAnt polyglot jasmin;
|
||||
}
|
||||
Reference in New Issue
Block a user