2013-02-24 13:25:53 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2006-08-27 20:05:18 +02:00
|
|
|
|
2011-03-27 06:45:26 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libsepol-${version}";
|
2013-02-24 13:25:53 +01:00
|
|
|
version = "2.1.8";
|
|
|
|
se_release = "20120924";
|
|
|
|
se_url = "${meta.homepage}/releases";
|
2011-03-27 06:45:26 +02:00
|
|
|
|
2006-08-27 20:05:18 +02:00
|
|
|
src = fetchurl {
|
2013-02-24 13:25:53 +01:00
|
|
|
url = "${se_url}/${se_release}/libsepol-${version}.tar.gz";
|
|
|
|
sha256 = "1w38q3lmha5m9aps9w844i51yw4b8q1vhpng2kdywn2n8cpdvvk3";
|
2006-08-27 20:05:18 +02:00
|
|
|
};
|
2011-03-27 06:45:26 +02:00
|
|
|
|
|
|
|
preBuild = '' makeFlags="$makeFlags PREFIX=$out DESTDIR=$out" '';
|
2013-02-24 13:25:53 +01: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 20:05:18 +02:00
|
|
|
}
|