summaryrefslogblamecommitdiff
path: root/user/nasm/APKBUILD
blob: 81aa6a9967f61a4b1fa91daf1b0313a09e9fd452 (plain) (tree)
1
2
3

              
              


























                                                                                    
                                      

 
                                                                                                                                                                   
# 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"
checkdepends="perl"
subpackages="$pkgname-doc"
source="https://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make test
}

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

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