# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Thomas Baechler <thomas@archlinux.org>

pkgname=ginac
pkgver=1.6.2
pkgrel=1
pkgdesc='A library designed to allow the creation of integrated systems that embed symbolic manipulations.'
arch=('i686' 'x86_64')
url='http://www.ginac.de'
license=('GPL')
depends=('cln')
makedepends=('transfig' 'doxygen' 'texlive-bin')
options=('!libtool')
source=("ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-${pkgver}.tar.bz2")
md5sums=('4cfdd286ab0c32981ec1c9c779e87eb9')

build() {
  cd ginac-${pkgver}

  ./configure \
    --prefix=/usr

  make
}

check() {
  cd ginac-${pkgver}

  make check
}

package() {
  cd ginac-${pkgver}

  make DESTDIR=${pkgdir} install
}
