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

              
              




                                                                 
          
                   
              



                                                                                    









                                 



                 
                                      

 
                                                                                                                                                                   
# Maintainer: 
pkgname=nasm
pkgver=2.15.03
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="afb41cf5d0dc12802531b8d977f57dd360cb7cc72f3a4224a610529fdfab95ae6042af04419728895d270cdf4baf25243d17a8d4e04e1843472d052a770a8e83  nasm-2.15.03.tar.bz2"