summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: 79d5a0c4d6cd02cf5cbcb73d2796ead1a138dd2d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
                                                 
            
        
                                                                         
                                       
          
                      
              
                          
                                                                                      
         
                                                                



                 

           
                    
 
                                                                                                                                                              
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bc
pkgver=2.1.0
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://github.com/gavinhoward/bc"
arch="all"
license="BSD-2-Clause"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://github.com/gavinhoward/bc/releases/download/$pkgver/bc-$pkgver.tar.xz"

build() {
	PREFIX="/usr" DESTDIR="$pkgdir" ./configure.sh -g -G -O3
	make
}

check() {
	make test
}

package() {
	make install
}

sha512sums="d117c0433b08d7bf4986ff49a39b6cbd1048399e74a3781ba48b27008d18c1cedfaca79c1d0510919b194bc593699ba99a736c377815cb3659cec772b45b1cd1  bc-2.1.0.tar.xz"