# Contributor: Michael Mason # Maintainer: Natanael Copa pkgname=bc pkgver=1.06.95 pkgrel=4 pkgdesc="An arbitrary precision numeric processing language (calculator)" url="http://www.gnu.org/software/bc/bc.html" arch="all" license="GPL2+" depends="" makedepends="flex bison readline-dev texinfo" subpackages="$pkgname-doc" source="ftp://alpha.gnu.org/gnu/bc/bc-$pkgver.tar.bz2 bc-1.06.95-memory_leak-1.patch " builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-readline make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="16ec13f87ef76ad4de77d378ef8d65a582adca1bf661c9d7675e78d940680c77e81a00a01817fde7c1ad1524562d6f933caa5c42a0686f3f85aadbb39393afb1 bc-1.06.95.tar.bz2 ee655b87f7fbbd7ce9a85218d38f5a971433691e7d34aff8c122b4e5ff94490c7441001dd73da8bab623a29548cd295ef9c3ae760ebf39f4825cc044d35d4eb6 bc-1.06.95-memory_leak-1.patch"