#---------------------------------------------------------------------------- # build_fax2png.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://www.boutell.com/fax2png/ # ### extract file in a temporary location tar -xjzf fax2png.tar.gz # 2012-12-15 fax2png LibC-2.8 patch by Daniel for libpng >= 1.5 patch for png -> fax2png-eisfair-1.patch patch -Np1 -i ../fax2png-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/fax2png/1.0.0 install # strip files for filename in `find /public/communications/fax2png/1.0.0/usr/bin/* -type f` do echo $filename strip -R .note -R .comment "$filename" done