main/bc: Added readline support

The makedepens `readline-dev` suggests that readline support was intented.
However, option `--with-readline` needs also be passed to compile bc with
readline support. In addtion, I added readline as dependency.
This commit is contained in:
Marian Buschsieweke 2017-07-17 20:57:36 +02:00 committed by Timo Teräs
parent 132f499315
commit 350d00a6d8

View File

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bc
pkgver=1.06.95
pkgrel=3
pkgrel=4
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="http://www.gnu.org/software/bc/bc.html"
arch="all"
@ -24,7 +24,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
--infodir=/usr/share/info \
--with-readline
make
}