recipes

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

build (475B)


      1 #!/bin/sh -ex
      2 
      3 export CC="./compile"
      4 export CFLAGS='-Wno-error -fPIC'
      5 
      6 export CPPFLAGS="$CPPFLAGS -I$libressl/include"
      7 export LDFLAGS="$LDFLAGS $libressl/lib/libcrypto.a $libressl/lib/libssl.a"
      8 
      9 export CPPFLAGS="$CPPFLAGS -I$libz/include"
     10 export LDFLAGS="$LDFLAGS $libz/lib/libz.a"
     11 
     12 export CPPFLAGS="$CPPFLAGS -I$libbz2/include"
     13 export LDFLAGS="$LDFLAGS $libbz2/lib/libbz2.a"
     14 
     15 ./configure \
     16 	--prefix="$PREFIX" \
     17 	--disable-shared \
     18 	--with-openssl="$libressl"
     19 
     20 make install