mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
45 lines
928 B
Plaintext
45 lines
928 B
Plaintext
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=bc
|
|
pkgver=1.07.1
|
|
pkgrel=5
|
|
pkgdesc="Arbitrary precision numeric processing language (calculator)"
|
|
url="https://www.gnu.org/software/bc/bc.html"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
bison
|
|
ed
|
|
flex
|
|
readline-dev
|
|
texinfo
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://ftp.gnu.org/gnu/bc/bc-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--with-readline
|
|
make -j1
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 bc-1.07.1.tar.gz
|
|
"
|