aboutsummaryrefslogtreecommitdiffstats
path: root/main/bc/APKBUILD
blob: 337dbe60a6d885b0c4a55efd53bd307a2433652c (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=3
pkgdesc="arbitrary precision numeric processing language (calculator)"
url="http://www.gnu.org/software/bc/bc.html"
arch="all"
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"