talimat 900 B

123456789101112131415161718192021222324252627282930313233
  1. # Tanım: Taşınabilir Windows Kitaplığı
  2. # URL: http://www.opalvoip.org
  3. # Paketçi: milisarge
  4. # Gerekler: sdl pulseaudio v4l-utils openldap
  5. isim=ptlib
  6. surum=2.10.11
  7. devir=1
  8. kaynak=(http://downloads.sourceforge.net/opalvoip/ptlib-$surum.tar.bz2
  9. ptlib-2.10.11-bison_fixes-2.patch
  10. disable-sslv3.patch
  11. openssl-1.1.0.patch)
  12. derle() {
  13. cd $isim-$surum
  14. patch -Np1 -i ../ptlib-2.10.11-bison_fixes-2.patch
  15. patch -Np1 -i ../disable-sslv3.patch
  16. patch -Np1 -i ../openssl-1.1.0.patch
  17. ./configure --prefix=/usr --libdir=/usr/lib \
  18. --sysconfdir=/etc --localstatedir=/var \
  19. --enable-opal --enable-plugins \
  20. --enable-oss --enable-v4l2 \
  21. --disable-avc --enable-sdl \
  22. --enable-ipv6 --enable-v4l \
  23. --disable-dc --disable-odbc \
  24. --enable-expat --enable-httpforms
  25. make
  26. make DESTDIR=$PKG install
  27. chmod -v 755 $PKG/usr/lib/libpt.so.2.10.11
  28. }