updated/fixed stage3 packages with priority <= 2 (beside ipsec-tools & rarpd)
[hdw-linux/hdw-linux.git] / packages / net / openh323 / openh323
index f3ece31..4860560 100644 (file)
@@ -2,32 +2,22 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 1.12.2
+# [V] v1_17_2
 # [S] 3-2
-# [D] openh323_1.12.2.tar.gz http://www.openh323.org/bin/
-
-xtra_ver="1.5.2"
+# [D] openh323-v1_17_2-src-tar.gz http://www.voxgratia.org/releases/
+# [D] openh323-v1_17_2-htmldoc-tar.gz http://www.voxgratia.org/releases/
 
+flist_pruned="$flist_pruned|etc/ld.so.cache"
 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
                }
+post_install()  {
+       mkdir -p $docdir
+       tar --use-compress-program=gunzip -xvf \
+               $archdir/openh323-${ver}-htmldoc-tar.gz -C $docdir/
+               }
+