blob: 375a39c63f6b3a66434acfc3b13d4b61bb8e3472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
description="An arbitrary precision calculator language"
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
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/$name/$name-$version.tar.gz $name-$version-compile_fixes.patch $name-$version-fixes-1.patch)
build ()
{
cd $name-$version;
patch -p1 < ../$name-$version-compile_fixes.patch;
patch -p1 < ../$name-$version-fixes-1.patch;
./configure --prefix=$prefix --mandir=$mandir --with-readline;
make;
make DESTDIR=$PKG install;
#if ! use info; then
# rm -rf $PKG/usr/info
#fi
}
|