21 lines
604 B
Plaintext
Executable File
21 lines
604 B
Plaintext
Executable File
# Description: The Bc package contains an arbitrary precision numeric processing language.
|
|
# URL: http://ftp.gnu.org/gnu/bc/
|
|
# Packager: milisarge@gmail.com
|
|
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
|
|
}
|