description="An arbitrary precision calculator language" packager="" maintainer="CRUX System Team, core-ports at crux dot nu" url="http://www.gnu.org/software/bc/bc.html" depends=(ncurses readline) name=bc version=1.06 release=3 source=(http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz bc-1.06-compile_fixes.patch bc-1.06-fixes-1.patch) build () { cd $name-$version; patch -p1 < ../$name-$version-compile_fixes.patch; patch -p1 < ../$name-$version-fixes-1.patch; ./configure --prefix=/usr --with-readline; make; make DESTDIR=$PKG install; rm -rf $PKG/usr/info }