recipes

packages recipes for the <noname> package manager
Log | Files | Refs

build (736B)


      1 #!/bin/sh -ex
      2 
      3 ! mv superscript.com/net/ucspi-ssl-*/* .; rm -rf superscript.com
      4 
      5 mkdir -p compile
      6 echo "$PREFIX" >conf-home
      7 echo "$PREFIX/share/man" >conf-man
      8 echo "$PREFIX/bin" >conf-tcpbin
      9 echo "/etc/ssl/dhparam.pem" >conf-dhfile
     10 echo "$libfehq" >conf-qlibs
     11 echo "-I$libressl/include" >conf-ssl
     12 echo "-L$libressl/lib -lssl -lcrypto" >conf-ssllib
     13 echo "cc -s -L$libressl/lib -L$libfehq/lib -lssl -lcrypto" >conf-ld
     14 echo "-lssl -lcrypto" >compile/ssl.lib
     15 
     16 sed 's/env - /env/' package/compile | sh
     17 
     18 mkdir -p "$PREFIX/man/man1"; cp -r man/*.1 "$PREFIX/man/man1"
     19 mkdir -p "$PREFIX/man/man2"; cp -r man/*.2 "$PREFIX/man/man2"
     20 mkdir -p "$PREFIX/bin"; cp -r command/* "$PREFIX/bin"
     21 mkdir -p "$PREFIX/lib"; cp compile/ucspissl.a "$PREFIX/lib"