1 { skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
6 sha256 = "0dk6k86UKgJ2ioX5H2Xoga9S+SwMy9NFrK2KEKoNxCA=";
8 description = "A HTTP 1.1 webserver, serving static files and CGI/NPH";
10 outputs = [ "bin" "lib" "out" "dev" "doc" ];
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"
23 # we set sysconfdir to /etc here to allow tipidee-config
24 # to look in the global paths for its configs.
25 # This is not encouraged, but a valid use-case.
30 # remove all tipidee executables from build directory
31 rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
34 mv doc $doc/share/doc/tipidee/html
35 mv examples $doc/share/doc/tipidee/examples