* New-style Fix expressions.
svn path=/nixpkgs/trunk/; revision=444
This commit is contained in:
parent
95bf9df10d
commit
55161eff7c
10
pkgs-ng/aterm/builder.sh
Executable file
10
pkgs-ng/aterm/builder.sh
Executable 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
10
pkgs-ng/aterm/default.fix
Normal 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
|
||||||
|
}
|
15
pkgs-ng/system/default.fix
Normal file
15
pkgs-ng/system/default.fix
Normal 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
|
||||||
|
}
|
||||||
|
}
|
1
pkgs-ng/system/i686-suse-linux.fix
Normal file
1
pkgs-ng/system/i686-suse-linux.fix
Normal file
@ -0,0 +1 @@
|
|||||||
|
(import ./.) { system = "i686-suse-linux" }
|
Loading…
Reference in New Issue
Block a user