AUFS2 utilities
svn path=/nixpkgs/trunk/; revision=17147
This commit is contained in:
parent
5c2fbcacd1
commit
9ebb44e92e
35
pkgs/os-specific/linux/aufs2-utils/default.nix
Normal file
35
pkgs/os-specific/linux/aufs2-utils/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
9
pkgs/os-specific/linux/aufs2-utils/src-for-default.nix
Normal file
9
pkgs/os-specific/linux/aufs2-utils/src-for-default.nix
Normal 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";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
repoUrl = "http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git";
|
||||||
|
rev = "origin/master";
|
||||||
|
baseName="aufs2Utils";
|
||||||
|
method="fetchgit";
|
||||||
|
}
|
@ -5357,6 +5357,10 @@ let
|
|||||||
inherit fetchgit stdenv kernel perl;
|
inherit fetchgit stdenv kernel perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
aufs2Utils = builderDefsPackage ../os-specific/linux/aufs2-utils {
|
||||||
|
inherit kernel;
|
||||||
|
};
|
||||||
|
|
||||||
exmap = import ../os-specific/linux/exmap {
|
exmap = import ../os-specific/linux/exmap {
|
||||||
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
||||||
inherit (gtkLibs) gtkmm;
|
inherit (gtkLibs) gtkmm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user