# Maintainer: Allen Hoffmeyer # (adapted from work by Louis R. Marascio ) # Contributor: trader # Contributor: masutu # Contributor: Guillaume Horel pkgname=quantlib _pkgname=QuantLib pkgver=1.34 pkgrel=1 pkgdesc="A free/open-source library for quantitative finance." arch=('x86_64') url="http://quantlib.org" license=('BSD-3-Clause') options=(!libtool) depends=('gcc-libs' 'sh') makedepends=('make' 'boost') checkdepends=() source=("Quantlib-$pkgver.tar.gz::https://github.com/lballabio/QuantLib/releases/download/v$pkgver/QuantLib-$pkgver.tar.gz") sha256sums=('eb87aa8ced76550361771e167eba26aace018074ec370f7af49a01aa56b2fe50') prepare() { cd "$_pkgname-$pkgver"/ autoupdate acinclude.m4 configure.ac autoreconf -if } build() { cd "$_pkgname-$pkgver" ./configure --prefix=/usr \ --enable-intraday \ --enable-openmp \ --disable-static \ --enable-std-classes \ --enable-null-as-functions \ --enable-parallel-unit-test-runner make } package() { cd "$_pkgname-$pkgver"/ make DESTDIR="$pkgdir/" install install -D -m644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT" } check() { cd "$_pkgname-$pkgver" make check } # vim:set ts=2 sw=2 et: