Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 11th, 2013  |  syntax: None  |  size: 0.96 KB  |  views: 27  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=yap
  2. pkgver=6.2.2
  3. pkgrel=2
  4. pkgdesc="An high-performance Prolog compiler"
  5. url="http://www.dcc.fc.up.pt/~vsc/Yap/"
  6. license=("PerlArtistic" "LGPL2.1")
  7. arch=("i686" "x86_64")
  8. depends=('gmp')
  9. optdepends=('java-runtime-headless: Java Interface Library JPL'
  10.             'unixodbc: ODBC interface'
  11.             'libmariadbclient: MYDDAS MYSQL interface'
  12.             'mpe2: MPE interface'
  13.             'mpich: MPICH based MPI interface'
  14.             'lam: MPI LAM-based interface')
  15. makedepends=('texi2html')
  16. source=(http://www.dcc.fc.up.pt/~vsc/Yap/${pkgname}-${pkgver}.tar.gz)
  17. sha256sums=('f15f8382104443319a5883eafce5f52f4143b526c7f1cd88d19c1f63fc06d750')
  18.  
  19. build() {
  20.   cd ${pkgname}-${pkgver}
  21.  
  22.   ./configure \
  23.     --prefix=/usr \
  24.     --with-java="${JAVA_HOME}"
  25.   make
  26.  
  27.   # Build docs
  28.   make html
  29. }
  30.  
  31. package() {
  32.   cd ${pkgname}-${pkgver}
  33.   make DESTDIR=${pkgdir} install
  34.  
  35.   install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
  36. }
clone this paste RAW Paste Data