recipes

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

build (347B)


      1 #!/bin/sh -ex
      2 
      3 sed 's/linux\*)/linuxx)/' configure >configure.$$
      4 mv -f configure.$$ configure
      5 chmod +x configure
      6 
      7 export CFLAGS=" \
      8 	-I$libz/include \
      9 	-I$libressl/include \
     10 "
     11 export LDFLAGS=" -static \
     12 	-L$libz/lib \
     13 	-L$libressl/lib \
     14 	-L$libbz2/lib \
     15 "
     16 export LIBS=" -lz -lssl -lcrypto -lbz2"
     17 
     18 ./configure \
     19 	--prefix="$PREFIX" \
     20 
     21 make install