Skip to content
Snippets Groups Projects
Unverified Commit a7156d80 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

system/bc: replace with POSIX bc

parent 7749175e
No related branches found
No related tags found
No related merge requests found
# Contributor: Michael Mason <ms13sp@gmail.com>
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bc
pkgver=1.07.1
pkgrel=1
pkgver=1.0_rc7
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://www.gnu.org/software/bc/bc.html"
url="https://github.com/gavinhoward/bc"
arch="all"
license="GPL-2.0+"
makedepends="ed flex bison texinfo"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
options="!check" # No test suite.
license="BSD-0-Clause"
depends=""
makedepends=""
subpackages=""
source="https://github.com/gavinhoward/bc/releases/download/${pkgver/_/-}/bc-${pkgver/_/-}.tar.xz"
builddir="$srcdir"/$pkgname-${pkgver/_/-}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
}
check() {
cd "$builddir"
make check
make PREFIX="/usr"
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
sha512sums="02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 bc-1.07.1.tar.gz"
sha512sums="58d50f6a369dd5aded16d9c9384f896a5a683bd1923c116fefe2dd8af24221c55a728d006c9cac9c9992ad6e04031173ce456fca61151b8b5d568ad0a3b39333 bc-1.0-rc7.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment