mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* 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:
parent
e07a111edc
commit
5baef98dd9
@ -1,20 +1,14 @@
|
||||
{stdenv, fetchurl, pkgconfig, fuse, perl}:
|
||||
{ stdenv, fetchurl, pkgconfig, fuse, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cromfs-1.5.9.1";
|
||||
name = "cromfs-1.5.10";
|
||||
|
||||
src = fetchurl {
|
||||
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'';
|
||||
|
||||
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;
|
||||
};
|
||||
patchPhase = ''sed -i 's@/bin/bash@/bin/sh@g' configure'';
|
||||
|
||||
# Removing the static linking, as it doesn't compile in x86_64.
|
||||
makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs";
|
||||
@ -27,5 +21,12 @@ stdenv.mkDerivation rec {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user