#!/bin/sh

  RPM_SOURCE_DIR="/home/work/src/redhat/SOURCES"
  RPM_BUILD_DIR="/home/work/src/redhat/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="dvbcut"
  RPM_PACKAGE_VERSION="0.5.4"
  RPM_PACKAGE_RELEASE="0.1.fc7"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/dvbcut-0.5.4-0.1.fc7-c16971"
  export RPM_BUILD_ROOT
  
  
  set -x
  umask 022
  cd /home/work/src/redhat/BUILD
cd dvbcut-0.5.4
LANG=C
export LANG
unset DISPLAY

unset QTDIR || : ; . /etc/profile.d/qt.sh
echo dt1
#export QTDIR=/usr/lib/qt-3.3
echo $CXXFLAGS
echo $CPPFLAGS

scons EXTRA_CC_FLAGS="$CXXFLAGS" PREFIX=/usr MANPATH=/usr/share/man FFMPEG=/usr/lib
echo dt2

echo dt3

#make 
echo dt4


#%c#onfigure
#make 
#popd



exit 0