# Description: A class library that has its genesis many years ago as PWLib
# URL: http://ftp.gnu.org/gun/pth
# Packager: pierre at nutyx dot org
# Depends on: alsa-lib expat pulseaudio 
name=ptlib
version=2.10.11
release=1

source=(ftp://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz
	 http://www.linuxfromscratch.org/patches/blfs/svn/ptlib-$version-bison_fixes-1.patch)

build() {
cd $name-$version
patch -Np1 -i ../ptlib-$version-bison_fixes-1.patch
./configure --prefix=/usr
make 
make DESTDIR=$PKG install
chmod -v 755 $PKG/usr/lib/libpt.so.2.10.11
}
