2013-02-24 12:25:53 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2006-08-27 18:05:18 +00:00
|
|
|
|
2011-03-27 04:45:26 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libsepol-${version}";
|
2013-02-24 12:25:53 +00:00
|
|
|
version = "2.1.8";
|
|
|
|
se_release = "20120924";
|
|
|
|
se_url = "${meta.homepage}/releases";
|
2011-03-27 04:45:26 +00:00
|
|
|
|
2006-08-27 18:05:18 +00:00
|
|
|
src = fetchurl {
|
2013-02-24 12:25:53 +00:00
|
|
|
url = "${se_url}/${se_release}/libsepol-${version}.tar.gz";
|
|
|
|
sha256 = "1w38q3lmha5m9aps9w844i51yw4b8q1vhpng2kdywn2n8cpdvvk3";
|
2006-08-27 18:05:18 +00:00
|
|
|
};
|
2011-03-27 04:45:26 +00:00
|
|
|
|
|
|
|
preBuild = '' makeFlags="$makeFlags PREFIX=$out DESTDIR=$out" '';
|
2013-02-24 12:25:53 +00:00
|
|
|
|
|
|
|
passthru = { inherit se_release se_url meta; };
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://userspace.selinuxproject.org;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.phreedom ];
|
|
|
|
license = "GPLv2";
|
|
|
|
};
|
2006-08-27 18:05:18 +00:00
|
|
|
}
|