mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-24 23:21:34 +02:00
33 lines
702 B
Plaintext
33 lines
702 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=nasm
|
|
pkgver=2.16.01
|
|
pkgrel=2
|
|
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/nasm-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -O2 -flto=auto" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
51fccb5639ce019d9c423c0f279750ffbd74c64cd41dd3b185d1aa1a1aaed79c5d3cd8d4bebbc13ee249a375ed27457ea2abde1a4dbb24d354598fffd1254833 nasm-2.16.01.tar.xz
|
|
"
|