blob: 1f5f448b66dc7ded6ba856a554557a7c1ee613d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bc
pkgver=1.06
pkgrel=2
pkgdesc="arbitrary precision numeric processing language (calculator)"
url="http://www.gnu.org/software/bc/bc.html"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="flex readline-dev"
install=
subpackages="$pkgname-doc"
source="http://mirrors.kernel.org/gnu/bc/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
make DESTDIR="$pkgdir" install
}
md5sums="d44b5dddebd8a7a7309aea6c36fda117 bc-1.06.tar.gz"
|