recipes

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

build (698B)


      1 #!/bin/sh -ex
      2 
      3 export PKG_CONFIG=$(which true)
      4 
      5 export LIBS="$LIBS -lcurl"
      6 export CFLAGS="$CFLAGS -I$libcurl/include"
      7 export LDFLAGS="$LDFLAGS -L$libcurl/lib"
      8 
      9 export LIBS="$LIBS -levent"
     10 export CFLAGS="$CFLAGS -I$libevent/include"
     11 export LDFLAGS="$LDFLAGS -L$libevent/lib"
     12 
     13 export LIBS="$LIBS -lz"
     14 export CFLAGS="$CFLAGS -I$libz/include"
     15 export LDFLAGS="$LDFLAGS -L$libz/lib"
     16 
     17 export LIBS="$LIBS -lssl -lcrypto"
     18 export CFLAGS="$CFLAGS -I$libressl/include"
     19 export LDFLAGS="$LDFLAGS -L$libressl/lib"
     20 
     21 export CFLAGS="$CFLAGS -I$PWD"
     22 export LDFLAGS="$LDFLAGS -static"
     23 
     24 ./configure --prefix="$PREFIX" \
     25 	--with-crypto=openssl \
     26 	--disable-nls \
     27 	--without-gtk \
     28 	--without-systemd-daemon
     29 
     30 make install