recipes

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

build (2066B)


      1 #!/bin/sh -ex
      2 
      3 ./configure --help
      4 
      5 export LDFLAGS='-s -static'
      6 
      7 export CFLAGS="$CFLAGS -I${libiconv}/include"
      8 export LDFLAGS="$LDFLAGS -L${libiconv}/lib -liconv"
      9 export LIBS="$LIBS -liconv"
     10 
     11 export CFLAGS="$CFLAGS -I${libgcrypt}/include"
     12 export LDFLAGS="$LDFLAGS -L${libgcrypt}/lib"
     13 export LIBS="$LIBS -lgcrypt"
     14 
     15 export CFLAGS="$CFLAGS -I${libz}/include"
     16 export LDFLAGS="$LDFLAGS -L${libz}/lib"
     17 export LIBS="$LIBS -lz"
     18 
     19 export CFLAGS="$CFLAGS -I${libbz2}/include"
     20 export LDFLAGS="$LDFLAGS -L${libbz2}/lib"
     21 export LIBS="$LIBS -lbz2"
     22 
     23 #export CFLAGS="$CFLAGS -I${libgpg_error}/include"
     24 #export LDFLAGS="$LDFLAGS -L${libgpg_error}/lib"
     25 #export LIBS="$LIBS -lgpg-error"
     26 
     27 export CFLAGS="$CFLAGS -I${libassuan}/include"
     28 export LDFLAGS="$LDFLAGS -L${libassuan}/lib"
     29 export LIBS="$LIBS -lassuan"
     30 
     31 export CFLAGS="$CFLAGS -I${libntbtls}/include"
     32 export LDFLAGS="$LDFLAGS -L${libntbtls}/lib"
     33 export LIBS="$LIBS -lntbtls"
     34 
     35 export CFLAGS="$CFLAGS -I${libnpth}/include"
     36 export LDFLAGS="$LDFLAGS -L${libnpth}/lib"
     37 export LIBS="$LIBS -lnpth"
     38 
     39 ./configure \
     40 	--prefix="$PREFIX" \
     41 	--with-pinentry-pgm="${pinentry}/bin/pinentry" \
     42 	--with-libgpg-error-prefix="${libgpg_error}" \
     43 	--with-libgcrypt-prefix="${libgcrypt}" \
     44 	--with-libassuan-prefix="${libassuan}" \
     45 	--with-ksba-prefix="${libksba}" \
     46 	--with-npth-prefix="${libnpth}" \
     47 	--with-ntbtls-prefix="${libntbtls}" \
     48 	\
     49 	--enable-ntbtls \
     50 	--enable-dirmngr \
     51 	--enable-wks-tools \
     52 	--enable-bzip2 \
     53 	--enable-zip \
     54 	--enable-trust-models \
     55 	\
     56 	--disable-scdaemon \
     57 	--disable-g13 \
     58 	--disable-doc \
     59 	--disable-symcryptrun \
     60 	--disable-gpgtar \
     61 	--disable-selinux-support \
     62 	--disable-large-secmem \
     63 	--disable-tofu \
     64 	--disable-libdns \
     65 	--disable-photo-viewers \
     66 	--disable-card-support \
     67 	--disable-ccid-driver \
     68 	--disable-dirmngr-auto-start \
     69 	--disable-maintainer-mode \
     70 	--disable-largefile \
     71 	--disable-sqlite \
     72 	--disable-npth-debug \
     73 	--disable-gnutls \
     74 	--disable-ldap \
     75 	--disable-rpath \
     76 	--disable-nls \
     77 	--disable-regex \
     78 	--disable-optimization \
     79 	--disable-werror \
     80 	--disable-run-gnupg-user-socket
     81 
     82 make install