summaryrefslogtreecommitdiff
path: root/user/nasm/APKBUILD
blob: 6f26ad851fe8ae4901a2eac78f685ac1d81f258b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: 
pkgname=nasm
pkgver=2.15.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="d5a3fd148f1a29af9ae46a543c05d420087eaae61ae4c3fa258ddd3b97a4f929f417234fc124e2c12f24e65aa9828e96a7cac1ffa54f8b8a3bcffc75074cbe10  nasm-2.15.02.tar.bz2"