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

ghmm PKGBUILD

By: a guest on Jan 14th, 2013  |  syntax: Bash  |  size: 0.74 KB  |  views: 18  |  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: Michael Schubert <mschu.dev at gmail>
  2.  
  3. pkgname=ghmm
  4. pkgver=0.9_rc1
  5. _pkgver=0.9-rc1
  6. pkgrel=2
  7. pkgdesc="General Hidden Markov Model library"
  8. arch=('i686' 'x86_64')
  9. url="http://ghmm.org"
  10. license=('LGPL')
  11. depends=('gsl')
  12. optdepends=('python2')
  13. source=("http://sourceforge.net/projects/ghmm/files/ghmm/ghmm%200.9-rc1/$pkgname-$_pkgver.tar.gz/download")
  14. md5sums=('34d09198401f3a3d6ea04dc8280cdb25')
  15.  
  16. build() {
  17.   cd "$pkgname-$_pkgver"
  18.   mv configure.in configure.ac
  19.   sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
  20.   ./autogen.sh
  21.   PYTHON=/usr/bin/python2 ./configure --prefix=/usr
  22.   make || return 1
  23.  
  24.   make prefix="$pkgdir/usr" install || return 1
  25.   mv "$pkgdir/usr/bin/cluster" "$pkgdir/usr/bin/ghmm-cluster"
  26. }
clone this paste RAW Paste Data