Making ts and tm crossbuild

svn path=/nixpkgs/branches/stdenv-updates/; revision=24870
This commit is contained in:
Lluís Batlle i Rossell 2010-11-26 14:12:10 +00:00
parent b37f799732
commit e571333232
2 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,10 @@ stdenv.mkDerivation {
patchPhase = ''sed -i 's@/usr/bin/install@install@g' Makefile'';
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
src = fetchurl {
url = http://vicerveza.homeunix.net/~viric/soft/tm/tm-0.4.1.tar.gz;
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";

View File

@ -6,6 +6,10 @@ stdenv.mkDerivation {
installPhase=''make install "PREFIX=$out"'';
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
src = fetchurl {
url = http://vicerveza.homeunix.net/~viric/soft/ts/ts-0.6.6.tar.gz;
sha256 = "0mdg123ppq8ibf4315l4qi0w3n7wlj4x8dq5gx8f680v4bjvc30g";