diff --git a/pkgs-ng/aterm/builder.sh b/pkgs-ng/aterm/builder.sh new file mode 100755 index 000000000000..5915dc0f87d1 --- /dev/null +++ b/pkgs-ng/aterm/builder.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd aterm-* || exit 1 +./configure --prefix=$out --with-gcc || exit 1 +make || exit 1 +make install || exit 1 +strip -S $out/lib/*.a || exit 1 diff --git a/pkgs-ng/aterm/default.fix b/pkgs-ng/aterm/default.fix new file mode 100644 index 000000000000..0fe0364d5c2d --- /dev/null +++ b/pkgs-ng/aterm/default.fix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: derivation + { name = "aterm-2.0" + , system = stdenv.system + , builder = ./builder.sh + , src = fetchurl + { url = http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz + , md5 = "853474e4bcf4a85f7d38a0676b36bded" + } + , stdenv = stdenv + } diff --git a/pkgs-ng/system/default.fix b/pkgs-ng/system/default.fix new file mode 100644 index 000000000000..cc7c7cc415b9 --- /dev/null +++ b/pkgs-ng/system/default.fix @@ -0,0 +1,15 @@ +{system}: rec + { stdenv = (import ../stdenv) + { system = system + } + + , fetchurl = (import ../fetchurl) + { system = system + } + + , aterm = (import ../aterm) + { system = system + , fetchurl = fetchurl + , stdenv = stdenv + } + } \ No newline at end of file diff --git a/pkgs-ng/system/i686-suse-linux.fix b/pkgs-ng/system/i686-suse-linux.fix new file mode 100644 index 000000000000..71f10ebe76b1 --- /dev/null +++ b/pkgs-ng/system/i686-suse-linux.fix @@ -0,0 +1 @@ +(import ./.) { system = "i686-suse-linux" }