aboutsummaryrefslogblamecommitdiffstats
path: root/main/bc/APKBUILD
blob: 5b990def749f6e11b35c6cda246215bf3f79f107 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                   
        


                                                                      
        

















                                                                 
# 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"
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"