* Cromfs updated to 1.5.10 (to get it to build with GCC 4.6).

svn path=/nixpkgs/branches/stdenv-updates/; revision=32400
This commit is contained in:
Eelco Dolstra 2012-02-19 16:58:40 +00:00
parent e07a111edc
commit 5baef98dd9

View File

@ -1,20 +1,14 @@
{stdenv, fetchurl, pkgconfig, fuse, perl}: { stdenv, fetchurl, pkgconfig, fuse, perl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cromfs-1.5.9.1"; name = "cromfs-1.5.10";
src = fetchurl { src = fetchurl {
url = "http://bisqwit.iki.fi/src/arch/${name}.tar.bz2"; url = "http://bisqwit.iki.fi/src/arch/${name}.tar.bz2";
sha256 = "02k0nd7zvcksn7vjxlynsdgdvkayfzzhv622n9zkka94756lr0fk"; sha256 = "1w079zb5scv6bj919ndr0fkiirq2bkyjrnmwqrr9yzwbyinzg73j";
}; };
patchPhase = ''sed -i 's@/bin/bash@/bin/sh@g' configure; set -x''; patchPhase = ''sed -i 's@/bin/bash@/bin/sh@g' configure'';
meta = {
description = "FUSE Compressed ROM filesystem with lzma" ;
homepage = http://bisqwit.iki.fi/source/cromfs.html;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
# Removing the static linking, as it doesn't compile in x86_64. # Removing the static linking, as it doesn't compile in x86_64.
makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs"; makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs";
@ -27,5 +21,12 @@ stdenv.mkDerivation rec {
install util/unmkcromfs $out/bin install util/unmkcromfs $out/bin
''; '';
buildInputs = [pkgconfig fuse perl]; buildInputs = [ pkgconfig fuse perl ];
meta = {
description = "FUSE Compressed ROM filesystem with lzma";
homepage = http://bisqwit.iki.fi/source/cromfs.html;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
} }