biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / skaware-packages / s6-dns / default.nix
blob1393a2c15634668c7d0499f0d34c3845b19232d1
1 { skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
4   pname = "s6-dns";
5   version = "2.3.7.1";
6   sha256 = "zwJYV07H1itlTgwq14r0x9Z6xMnLN/eBSA9ZflSzD20=";
8   description = "A suite of DNS client programs and libraries for Unix systems";
10   outputs = [ "bin" "lib" "dev" "doc" "out" ];
12   configureFlags = [
13     "--libdir=\${lib}/lib"
14     "--libexecdir=\${lib}/libexec"
15     "--dynlibdir=\${lib}/lib"
16     "--bindir=\${bin}/bin"
17     "--includedir=\${dev}/include"
18     "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
19     "--with-include=${skalibs.dev}/include"
20     "--with-lib=${skalibs.lib}/lib"
21     "--with-dynlib=${skalibs.lib}/lib"
22   ];
24   postInstall = ''
25     # remove all s6-dns executables from build directory
26     rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
27     rm libs6dns.*
28     rm libskadns.*
30     mv doc $doc/share/doc/s6-dns/html
31   '';