summaryrefslogtreecommitdiff
path: root/user/nasm/APKBUILD
blob: 2c6f00c524a70175f1ffff25967efac648743805 (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
34
# Maintainer: 
pkgname=nasm
pkgver=2.14
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="9a87935b90a8eaa5adcad7efc058e429483d451c8acb8fd051f0dca760eb649839f40e45f91a551ecf89da4320a32299daa21f8ecb9384a18a5359ccb0e74894  nasm-2.14.tar.bz2"