recipes

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

build (542B)


      1 #!/bin/sh -ex
      2 
      3 ! mv sqmail/*/* .; rm -rf sqmail
      4 
      5 mkdir -p compile /var/qmail "$PREFIX"
      6 
      7 echo "cc -O2 -include /usr/include/errno.h -I/usr/local/include -I$libressl/include -pipe -Wall" >conf-cc
      8 echo "-L$libressl/lib -lssl -lcrypto" >compile/ssl.lib
      9 echo "$ucspi_ssl" | sed s/pkg/src/ >conf-ucspissl
     10 echo "$PREFIX/man" >conf-man
     11 
     12 cp "$ucspi_ssl/lib/ucspissl.a" compile
     13 rm -rf /var/qmail/bin
     14 
     15 for x in ids dir ucspissl compile legacy; do
     16 	sed 's/env - /env/' package/$x | sh
     17 done
     18 
     19 mv /var/qmail/bin "$PREFIX/bin"
     20 ln -s "$PREFIX/bin" /var/qmail