ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

libav.mk (604B)


      1 TARG = libav
      2 
      3 <$mkbuild/mk.common-noinst
      4 
      5 libav:QV:
      6 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      7 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      8 	CC="$CC" ./configure \
      9 		--target-os="linux" \
     10 		--cross-prefix="`$CC -dumpmachine`-" \
     11 		--prefix="$PREFIX" \
     12 		--mandir="$ROOT/share/man" \
     13 		--disable-shared \
     14 		--disable-doc \
     15 		--disable-asm \
     16 		--enable-static \
     17 		--enable-cross-compile
     18 	make -j$nprocs
     19 	# install lib for use as a dependency.
     20 	make -j$nprocs install DESTDIR="`pwd`/lib"
     21 	# remove .la files for now ?
     22 	find `pwd`/lib -iname "*.la" -exec rm {} \;
     23 
     24 install:QV:
     25 	make -j$nprocs install DESTDIR="$ROOT"