Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

sflphone-kde-1.2.2.PKGBUILD

By: a guest on Feb 16th, 2013  |  syntax: Bash  |  size: 1.27 KB  |  hits: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Christoph Wiechert <wio@psitrax.de>
  2. pkgname=sflphone-kde
  3. pkgver=1.2.2
  4. pkgrel=1
  5. pkgdesc="SIP/IAX2 softphone"
  6. url="http://www.sflphone.org"
  7. arch=('x86_64' 'i686')
  8. license=('GPL3')
  9. depends=('kdelibs' 'libpulse' 'gsm>=0.9.7' 'libzrtpcpp' 'log4c' 'check' 'libyaml' 'celt' 'dbus-c++' 'speex' 'libsamplerate' 'kdepimlibs')
  10. makedepends=('autoconf' 'cmake' 'boost' 'automoc4')
  11. conflicts=('sflphone')
  12. source=("https://projects.savoirfairelinux.com/attachments/download/5064/sflphone-${pkgver}.tar.gz")
  13. md5sums=('e9554423e562c168838366974f07acc0')
  14. install="generateStarter.install"
  15. build() {
  16.  
  17. ## pjsip
  18.   cd ${srcdir}/sflphone-${pkgver}/daemon/libs/pjproject-2.0.1
  19.   ./configure --disable-ilbc-codec
  20.   make dep
  21.   make
  22.  
  23.  
  24. ## daemon
  25.   cd "${srcdir}/sflphone-${pkgver}/daemon"
  26.   ./autogen.sh
  27.   ./configure --prefix="/usr" --disable-ilbc
  28.    make
  29.    
  30. ## KDE client
  31.   cd "${srcdir}/sflphone-${pkgver}/kde"
  32.   sed -i -re 's/^add_subdirectory.*test.*/#\0/' src/CMakeLists.txt
  33.   ./config.sh --prefix="/usr"
  34.    cd build
  35.    make  
  36. }
  37.  
  38. package() {
  39.  
  40. ## daemon
  41.   cd "${srcdir}/sflphone-${pkgver}/daemon"
  42.   make DESTDIR="${pkgdir}" install
  43.  
  44. ## KDE client
  45.   cd "${srcdir}/sflphone-${pkgver}/kde/build"
  46.   make DESTDIR="${pkgdir}" install
  47. }
  48.  
  49. # vim:set ts=2 sw=2 et: