2016-02-24 01:27:23 +01:00
|
|
|
# Description: The Bc package contains an arbitrary precision numeric processing language.
|
|
|
|
# URL: http://ftp.gnu.org/gnu/bc/
|
2016-03-20 02:15:25 +01:00
|
|
|
# Packager: milisarge@gmail.com
|
2016-02-24 01:27:23 +01:00
|
|
|
name=bc
|
|
|
|
version=1.06.95
|
|
|
|
release=1
|
|
|
|
|
|
|
|
source=(http://alpha.gnu.org/gnu/$name/$name-$version.tar.bz2
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-memory_leak-1.patch)
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i ../$name-$version-memory_leak-1.patch
|
|
|
|
./configure --prefix=/usr --bindir=/bin \
|
|
|
|
--with-readline \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--infodir=/usr/share/info
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/info/dir
|
|
|
|
}
|