milis/talimatname/temel/bc/talimat

24 lines
623 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: The Bc package contains an arbitrary precision numeric processing language.
2016-02-24 01:27:23 +01:00
# URL: http://ftp.gnu.org/gnu/bc/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge@gmail.com
# Gerekler:
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)
2017-10-27 21:56:50 +02:00
2016-02-24 01:27:23 +01:00
build() {
2017-10-27 21:56:50 +02:00
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
2016-02-24 01:27:23 +01:00
}