From: <gof...@us...> - 2007-11-20 14:47:58
|
Revision: 4270 http://octave.svn.sourceforge.net/octave/?rev=4270&view=rev Author: goffioul Date: 2007-11-20 06:48:00 -0800 (Tue, 20 Nov 2007) Log Message: ----------- install pkg-config info file for libpng (will be needed by cairo) Modified Paths: -------------- trunk/octave-forge/admin/Windows/msvc/run_compilation.sh Modified: trunk/octave-forge/admin/Windows/msvc/run_compilation.sh =================================================================== --- trunk/octave-forge/admin/Windows/msvc/run_compilation.sh 2007-11-20 14:34:45 UTC (rev 4269) +++ trunk/octave-forge/admin/Windows/msvc/run_compilation.sh 2007-11-20 14:48:00 UTC (rev 4270) @@ -976,9 +976,16 @@ AdditionalLibraryDirectories=\"$tdir_w32\\\\lib\"/" libpng.vcproj > ttt && mv ttt libpng.vcproj && vcbuild -u libpng.vcproj 'DLL Release|Win32' && + sed -e "s,^prefix=.*$,prefix=$tdir_w32_forward," \ + -e "s,@exec_prefix@,\${prefix}," \ + -e "s,@libdir@,\${exec_prefix}/lib," \ + -e "s,^includedir=.*$,includedir=\${prefix}/include," \ + -e "s,-lpng[0-9]\+,-lpng," ../../scripts/libpng.pc.in > libpng.pc && cp Win32_DLL_Release/libpng*.dll "$tbindir" && cp Win32_DLL_Release/png.lib "$tlibdir" && - cp ../../png.h ../../pngconf.h "$tincludedir") >&5 2>&1 + cp ../../png.h ../../pngconf.h "$tincludedir" && + mkdir -p "$tlibdir/pkconfig" && + cp libpng.pc "$tlibdir/pkgconfig") >&5 2>&1 rm -rf "$DOWNLOAD_DIR/lpng$pngver" if test ! -f "$tlibdir/png.lib"; then echo "failed" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |