Upgrade to generic build

svn path=/nixpkgs/trunk/; revision=1015
This commit is contained in:
Martin Bravenboer 2004-05-12 15:35:06 +00:00
parent ffade7689e
commit 9ba11d2be6
2 changed files with 8 additions and 11 deletions

View File

@ -1,7 +1,3 @@
buildinputs="$aterm"
. $stdenv/setup || exit 1
tar zxf $src || exit 1
cd toolbuslib-* || exit 1
./configure --prefix=$out --with-aterm=$aterm || exit 1
make install || exit 1
. $stdenv/setup
configureFlags="--with-aterm=$aterm"
genericBuild

View File

@ -1,11 +1,12 @@
{stdenv, fetchurl, aterm}: derivation {
{stdenv, fetchurl, aterm}:
stdenv.mkDerivation {
name = "toolbuslib-0.5.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.cwi.nl/projects/MetaEnv/toolbuslib/toolbuslib-0.5.1.tar.gz;
md5 = "1c7c7cce870f813bef60bbffdf061c90";
};
stdenv = stdenv;
aterm = aterm;
buildInputs = [aterm];
}