recipes

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

build (402B)


      1 #!/bin/sh -ex
      2 
      3 export LDFLAGS='-static'
      4 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libgmp/lib
      5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libmpc/lib
      6 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libmpfr/lib
      7 
      8 ./configure --prefix="$PREFIX" \
      9 	--with-gmp=$libgmp \
     10 	--with-mpc=$libmpc \
     11 	--with-mpfr=$libmpfr \
     12 	--disable-multilib \
     13 	--enable-languages=c \
     14 	--host=$(uname -m)-unknown-linux-musl
     15 make
     16 make install