summaryrefslogtreecommitdiffstats
path: root/main/bc/APKBUILD
blob: d5f1851f2d38045262d603c2235ff3cdada56280 (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
# Contributor: Michael Mason <ms13sp@gmail.com> 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bc
pkgver=1.06
pkgrel=1
pkgdesc="arbitrary precision numeric processing language (calculator)"
url="http://www.gnu.org/software/bc/bc.html"
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"