mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 08:56:44 +02:00
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=bc
|
|
pkgver=1.08.1
|
|
pkgrel=0
|
|
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
|
|
getopt-gcc15.patch
|
|
"
|
|
|
|
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="
|
|
256c94833ead8029122d3ba6475cf4ff030c208a5bd3e2e9c5c8888467215e0fa9ab34e4226791bbd6e47498c0c61f0dc6399eecb0c8cf6a43453e84911c1847 bc-1.08.1.tar.gz
|
|
cba46a4066b0ec1975a462fe97ae7021b24bcf3f991fc82dfebd0ebef9dab09c2e0c1ca11a85fa0dc8c3c51962cb591848ba73e975a1ffaf406d160df55223ba getopt-gcc15.patch
|
|
"
|