# hdw - linux openh323 package # # author: hackbard@hackdaworld.dyndns.org # # [V] 1.12.2 # [S] 3-2 # [D] openh323_1.12.2.tar.gz http://www.openh323.org/bin/ xtra_ver="1.5.2" make_conf="optshared" pre_install() { # do we build? if [ ! -f $archdir/../pwlib/pwlib_${xtra_ver}.tar.gz ]; \ then echo "you will need pwlib source for openh323" exit 1 fi # extract pwlib and set PWLIBDIR echo "extracting pwlib source ..." tar --use-compress-program=gunzip -xvf \ $archdir/../pwlib/pwlib_${xtra_ver}.tar.gz -C ../ cd ../pwlib* # configure pwlib ./configure $confopt PWLIBDIR=`pwd` export PWLIBDIR cd - export OPENH323DIR=`pwd` export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/lib" ldconfig }