2018-09-02 21:31:26 +00:00
|
|
|
{ stdenv, skawarePackages }:
|
2014-08-23 04:22:55 +00:00
|
|
|
|
2018-09-02 21:31:26 +00:00
|
|
|
with skawarePackages;
|
2014-08-23 04:22:55 +00:00
|
|
|
|
2018-09-02 21:31:26 +00:00
|
|
|
buildPackage {
|
|
|
|
pname = "skalibs";
|
2018-09-02 15:04:57 +00:00
|
|
|
version = "2.7.0.0";
|
2018-09-04 19:55:47 +00:00
|
|
|
sha256 = "0mnprdf4w4ami0db22rwd111m037cdmn2p8xa4i8cbwxcrv4sjcn";
|
2014-08-23 04:22:55 +00:00
|
|
|
|
2018-09-02 21:31:26 +00:00
|
|
|
description = "A set of general-purpose C programming libraries";
|
2014-08-23 04:22:55 +00:00
|
|
|
|
2018-07-22 15:03:19 +00:00
|
|
|
outputs = [ "lib" "dev" "doc" "out" ];
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
configureFlags = [
|
2018-09-02 21:31:26 +00:00
|
|
|
# assume /dev/random works
|
|
|
|
"--enable-force-devr"
|
2018-07-22 15:03:19 +00:00
|
|
|
"--libdir=\${lib}/lib"
|
|
|
|
"--dynlibdir=\${lib}/lib"
|
|
|
|
"--includedir=\${dev}/include"
|
|
|
|
"--sysdepdir=\${lib}/lib/skalibs/sysdeps"
|
2018-09-02 21:31:26 +00:00
|
|
|
];
|
2014-08-23 04:22:55 +00:00
|
|
|
|
2018-07-22 15:03:19 +00:00
|
|
|
postInstall = ''
|
2018-09-02 21:31:26 +00:00
|
|
|
rm -rf sysdeps.cfg
|
|
|
|
rm libskarnet.*
|
|
|
|
|
2018-07-22 15:03:19 +00:00
|
|
|
mv doc $doc/share/doc/skalibs/html
|
|
|
|
'';
|
|
|
|
|
2014-08-23 04:22:55 +00:00
|
|
|
}
|