#---------------------------------------------------------------------------- # build_tiff2png.txt - how to build the eisfax binaries and create folder and packages # # Creation : 2008-11-07 holbru # Last update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 ### download the source code from the internet, e.g. # http://libpng.org/pub/png/apps/tiff2png.html # ### extract file in a temporary location tar -xjzf tiff2png-0.91.tar.gz # 2012-12-08 tiff2png-0-91 LibC-2.8 patch for zlib.h -> tiff2png-eisfair-1.patch # 2014-03-09 -> fax-utils # build with rpm # fax-utils-2011.8.29-1.2.src.rpm ### build export CFLAGS='-O2 -march=i486' export CXXFLAGS="${CFLAGS}" make make DESTDIR=/public/communications/tiff2png/0.91 install # strip files for filename in `find /public/communications/tiff2png/0.91/usr/bin/* -type f` do echo $filename strip -R .note -R .comment "$filename" done