From 55161eff7c006ce9cb98d38a1623c3c65dabd003 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 30 Oct 2003 17:01:49 +0000 Subject: [PATCH] * New-style Fix expressions. svn path=/nixpkgs/trunk/; revision=444 --- pkgs-ng/aterm/builder.sh | 10 ++++++++++ pkgs-ng/aterm/default.fix | 10 ++++++++++ pkgs-ng/system/default.fix | 15 +++++++++++++++ pkgs-ng/system/i686-suse-linux.fix | 1 + 4 files changed, 36 insertions(+) create mode 100755 pkgs-ng/aterm/builder.sh create mode 100644 pkgs-ng/aterm/default.fix create mode 100644 pkgs-ng/system/default.fix create mode 100644 pkgs-ng/system/i686-suse-linux.fix 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" }