mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
26e74d8a3e
New build system using configure script and GNU Make 4.0, and new releases of the following using the new build system: execline 2.0.0.0 s6 2.0.0.0 s6-dns 2.0.0.0 s6-linux-utils 2.0.0.0 s6-networking 2.0.0.0 s6-portable-utils 2.0.0.0 skalibs 2.0.0.0
38 lines
851 B
Nix
38 lines
851 B
Nix
{ stdenv
|
|
, fetchurl
|
|
, gnumake40
|
|
}:
|
|
|
|
let
|
|
|
|
version = "2.0.0.0";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "skalibs-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://skarnet.org/software/skalibs/${name}.tar.gz";
|
|
sha256 = "0cz30wqg8fnkwjlacs4s3sjs3l34sa91xgci95fmb187zhiq693n";
|
|
};
|
|
|
|
dontDisableStatic = true;
|
|
|
|
buildInputs = [ gnumake40 ];
|
|
|
|
configureFlags = [
|
|
"--enable-force-devr" # assume /dev/random works
|
|
"--libdir=\${prefix}/lib"
|
|
"--includedir=\${prefix}/include"
|
|
"--sysdepdir=\${prefix}/lib/skalibs/sysdeps"
|
|
] ++ (if stdenv.isDarwin then [ "--disable-shared" ] else [ "--enable-shared" ]);
|
|
|
|
meta = {
|
|
homepage = http://skarnet.org/software/skalibs/;
|
|
description = "A set of general-purpose C programming libraries";
|
|
platforms = stdenv.lib.platforms.all;
|
|
license = stdenv.lib.licenses.isc;
|
|
};
|
|
|
|
}
|