#Packager: George Vlahavas # Mandatory pkgname=ptlib pkgver=2.10.10 pkgrel=1rl source=("http://ftp.gnome.org/pub/gnome/sources/ptlib/2.10/ptlib-2.10.10.tar.xz") sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver docs=("ChangeLog*" "ReadMe*") url="http://www.opalvoip.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "PTLib (Portable Tools Library)" "PTLib is a moderately large class library that has it's genesis many" "years ago as PWLib (Portable Windows Library), a method to product" "applications to run on both Microsoft Windows and Unix systems. It" "has also been ported to many other systems." "" "Since then the system has grown to include many classes that assist" "in writing complete multi-platform applications. So it became a" "Portable Tools Library and was renamed to PTLib." ) build() { cd $startdir/src/$pkgname-$pkgver # Set LIBS to fix OpenLDAP support LIBS="-lgthread-2.0" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --enable-shared \ --enable-opal \ --enable-plugins \ --enable-oss \ --enable-v4l2 \ --disable-avc \ --enable-sdl \ --enable-ipv6 \ --enable-v4l \ --enable-dc \ --disable-odbc \ --enable-expat \ --enable-httpforms2 \ --build=$arch-slackware-linux make || return 1 make DESTDIR=$startdir/pkg install # Remove static library rm $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libpt_s.a }