summaryrefslogblamecommitdiff
path: root/user/libtommath/APKBUILD
blob: 2e5bce094d75fe305078060fe6be0e5e10a03ecd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                  
            







                                                      
                                                                                           

         



                                           



                                                           


                                                                     
                                                                                                                                                               
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libtommath
pkgver=1.1.0
pkgrel=0
pkgdesc="Theoretic multiple-precision integer library"
url="https://www.libtom.net/LibTomMath/"
arch="all"
license="Unlicense"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://github.com/libtom/libtommath/releases/download/v$pkgver/ltm-$pkgver.tar.xz"

build() {
	make PREFIX=/usr -f makefile.shared
}

check() {
	make PREFIX=/usr -f makefile.shared test_standalone
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" -f makefile.shared install
}

sha512sums="6d1b8b09d5b975a2b84ef6ab9cb1cc63db2f0503a906e499cb9d7eaba3f487be6e7f69bf692b188f888418c61ea563aa7e2411638d8979eac426b3d603ad1b91  ltm-1.1.0.tar.xz"