ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

libsasl.mk (580B)


      1 TARG = libsasl
      2 
      3 <$mkbuild/mk.common-noinst
      4 
      5 libsasl:QV:
      6 	CC="$CC -static" ./configure \
      7 		--build="${TOOLCHAIN_TRIPLET}" \
      8 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
      9 		--prefix="$PREFIX" \
     10 		--mandir="$ROOT/share/man" \
     11 		--disable-shared --disable-gssapi \
     12 		--enable-static --disable-sql \
     13 		--enable-plain --enable-login \
     14 		--disable-auth-sasldb
     15 	make -j$nprocs
     16 	# install lib for use as a dependency.
     17 	make -j$nprocs install DESTDIR="`pwd`/lib"
     18 	# remove .la files for now ?
     19 	find `pwd`/lib -iname "*.la" -exec rm {} \;
     20 
     21 install:QV:
     22 	make -j$nprocs install DESTDIR="$ROOT" V="1"