* New-style Fix expressions.

svn path=/nixpkgs/trunk/; revision=444
This commit is contained in:
Eelco Dolstra 2003-10-30 17:01:49 +00:00
parent 95bf9df10d
commit 55161eff7c
4 changed files with 36 additions and 0 deletions

10
pkgs-ng/aterm/builder.sh Executable file
View File

@ -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

10
pkgs-ng/aterm/default.fix Normal file
View File

@ -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
}

View File

@ -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
}
}

View File

@ -0,0 +1 @@
(import ./.) { system = "i686-suse-linux" }