ports

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

xorglibpixman.mk (663B)


      1 # Description: Pixel manipulation library
      2 # Deps: libpng
      3 # Indirect deps: zlib (libpng).
      4 TARG = xorglibpixman
      5 DEPS = zlib libpng
      6 
      7 <$mkbuild/mk.common-noinst
      8 
      9 xorglibpixman:QV:
     10 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
     11 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
     12 	export PNG_CFLAGS="-I${libpng_includedir}"
     13 	export PNG_LIBS="-L${libpng_libdir} -lpng16 -lm -lz"
     14 	CC="$CC" ./configure \
     15 		--prefix="$PREFIX" \
     16 		--mandir="$ROOT/share/man" \
     17 		--disable-shared \
     18 		--enable-static \
     19 		--enable-libpng
     20 	make -j$nprocs
     21 	# install lib for use as a dependency.
     22 	make -j$nprocs install DESTDIR=`pwd`/lib
     23 	# remove .la files for now ?
     24 	find `pwd`/lib -iname "*.la" -exec rm {} \;