Fixing the mtdutils package (install to proper LSB like directories, and remove 'v' in front
of the version, which annoyed nix-env name matching) svn path=/nixpkgs/trunk/; revision=23839
This commit is contained in:
parent
8ee5697147
commit
83bfd42534
@ -1,19 +1,19 @@
|
||||
{stdenv, fetchgit, libuuid, lzo, zlib, acl}:
|
||||
|
||||
let
|
||||
version = "v1.3.1";
|
||||
version = "1.3.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "mtd-utils-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://git.infradead.org/mtd-utils.git;
|
||||
rev = version;
|
||||
rev = "v" + version;
|
||||
sha256 = "0pjjs9x03bgvphqwlw99c2cpkpjsx0vkqi79vjl7fcb9pyrghgd1";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
makeFlags="DESTDIR=$out"
|
||||
patchPhase = ''
|
||||
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
|
||||
'';
|
||||
|
||||
buildInputs = [ libuuid lzo zlib acl ];
|
||||
|
Loading…
Reference in New Issue
Block a user