Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

cminpack PKGBUILD

By: a guest on Jun 24th, 2011  |  syntax: None  |  size: 0.67 KB  |  views: 65  |  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. pkgname=cminpack
  2. pkgver=1.1.3
  3. pkgrel=3
  4. pkgdesc="cMinpack is probably the best open-source implementation of the Levenberg-Marquardt algorithm"
  5. arch=('i686' 'x86_64')
  6. url='http://devernay.free.fr/hacks/cminpack/cminpack.html'
  7. license=('GPL' 'LGPL')
  8. makedepends=('make' 'pkgconfig')
  9. source=("http://devernay.free.fr/hacks/cminpack/cminpack-1.1.3.tar.gz" "lib64-to-lib.patch")
  10.  
  11. build() {
  12.         cd $srcdir
  13.  
  14.         patch -p0 < lib64-to-lib.patch
  15.  
  16.         mkdir build
  17.         cd build
  18.         cmake ../cminpack-${pkgver} \
  19.                 -DCMAKE_BUILD_TYPE=Release \
  20.                 -DCMAKE_INSTALL_PREFIX=/usr
  21.  
  22.         make
  23.         make DESTDIR=$pkgdir install
  24. }
  25. md5sums=('3573b33d498cc1bf3787a86efbd12c3a' '5ad00939d7e208f694c0af5ed5013dc4')