31 lines
616 B
Nix
31 lines
616 B
Nix
{ skawarePackages }:
|
|
|
|
with skawarePackages;
|
|
|
|
buildPackage {
|
|
pname = "skalibs";
|
|
version = "2.8.1.0";
|
|
sha256 = "1fk6n402ywn4kpy6ng7sfnnqcg0mp6wq2hrv8sv3kxd0nh3na723";
|
|
|
|
description = "A set of general-purpose C programming libraries";
|
|
|
|
outputs = [ "lib" "dev" "doc" "out" ];
|
|
|
|
configureFlags = [
|
|
# assume /dev/random works
|
|
"--enable-force-devr"
|
|
"--libdir=\${lib}/lib"
|
|
"--dynlibdir=\${lib}/lib"
|
|
"--includedir=\${dev}/include"
|
|
"--sysdepdir=\${lib}/lib/skalibs/sysdeps"
|
|
];
|
|
|
|
postInstall = ''
|
|
rm -rf sysdeps.cfg
|
|
rm libskarnet.*
|
|
|
|
mv doc $doc/share/doc/skalibs/html
|
|
'';
|
|
|
|
}
|