AUFS2 utilities

svn path=/nixpkgs/trunk/; revision=17147
This commit is contained in:
Michael Raskin 2009-09-15 07:58:44 +00:00
parent 5c2fbcacd1
commit 9ebb44e92e
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,35 @@
a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
];
in
rec {
src = (a.fetchGitFromSrcInfo s) + "/";
inherit (s) name;
inherit buildInputs;
configureFlags = [];
preBuild = a.fullDepEntry (''
sed -e "s@/usr@@g; s@-o root@@g; s@-g root@@g" -i Makefile
'') ["doUnpack" "minInit"];
postInstall = a.fullDepEntry (''
sed -e "s@/etc/default@$out&@; s@/sbin/mount@$out&@" -i "$out/bin/"*
'') ["minInit"];
/* doConfigure should be removed if not needed */
phaseNames = ["preBuild" "doMakeInstall" "postInstall"];
makeFlags = [
''KDIR="${a.kernel}/lib/modules/${a.kernel.version}/build"''
''DESTDIR="$out"''
];
meta = {
description = "AUFS2 utilities";
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
linx;
};
}

View File

@ -0,0 +1,9 @@
rec {
version="f35ba2292fe40aa94aa83713e0b2719f35a25768";
name="aufs2Utils-f35ba2292fe40aa94aa83713e0b2719f35a25768";
hash="0d2825327404a2e66ce0f370a949deac766dfcdb7bf7d502c72cb790e4f75705";
rev="f35ba2292fe40aa94aa83713e0b2719f35a25768";
url="http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git";
}

View File

@ -0,0 +1,6 @@
{
repoUrl = "http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git";
rev = "origin/master";
baseName="aufs2Utils";
method="fetchgit";
}

View File

@ -5357,6 +5357,10 @@ let
inherit fetchgit stdenv kernel perl;
};
aufs2Utils = builderDefsPackage ../os-specific/linux/aufs2-utils {
inherit kernel;
};
exmap = import ../os-specific/linux/exmap {
inherit fetchurl stdenv kernel boost pcre pkgconfig;
inherit (gtkLibs) gtkmm;