1 { skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
6 sha256 = "au4yu2jQH1EJ9x4xooMhPGaM08Dnn7nkaebKu1gHnys=";
8 description = "Suite of DNS client programs and libraries for Unix systems";
10 outputs = [ "bin" "lib" "dev" "doc" "out" ];
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"
25 # remove all s6-dns executables from build directory
26 rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
30 mv doc $doc/share/doc/s6-dns/html