summaryrefslogblamecommitdiff
path: root/user/nasm/APKBUILD
blob: 4e73db97e4e8f0e3978ce3cd8f23222306790a75 (plain) (tree)
1
2
3
4
5
6
7
8
9

              
              




                                                                 
          
                   
              



                                                                                    









                                 



                 
                                      

 
                                                                                                                                                                   
# Maintainer: 
pkgname=nasm
pkgver=2.14.02
pkgrel=0
pkgdesc="80x86 assembler designed for portability and modularity"
url="https://www.nasm.us/"
arch="all"
license="BSD-2-Clause"
depends=""
checkdepends="perl"
makedepends=""
subpackages="$pkgname-doc"
source="https://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.bz2"

build () {
	export CFLAGS=
	export CXXFLAGS=
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="71e3d44736493b1a56d4230bc2e5519e858aaadde5d89a692f1472fad6755084460e36b42852707f4c862eff75d3f2c232aedcc4e61e9d9ffcc8c9ca6498292b  nasm-2.14.02.tar.bz2"