summaryrefslogtreecommitdiff
path: root/user/nasm
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:22:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:22:38 -0500
commitdeb3aaa86c27b92e36d07ef1180618bcf4b045f9 (patch)
tree03a09cccf55d6d73b3f241c75751b9659d858ce6 /user/nasm
parent78a06826be274bb4aded8ad5f946a873253db0f9 (diff)
downloadpackages-deb3aaa86c27b92e36d07ef1180618bcf4b045f9.tar.gz
packages-deb3aaa86c27b92e36d07ef1180618bcf4b045f9.tar.bz2
packages-deb3aaa86c27b92e36d07ef1180618bcf4b045f9.tar.xz
packages-deb3aaa86c27b92e36d07ef1180618bcf4b045f9.zip
user/nasm: pull in, bump to 2.13.03, fix up
Diffstat (limited to 'user/nasm')
-rw-r--r--user/nasm/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/nasm/APKBUILD b/user/nasm/APKBUILD
new file mode 100644
index 000000000..f2449ffed
--- /dev/null
+++ b/user/nasm/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer:
+pkgname=nasm
+pkgver=2.13.03
+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 INSTALLROOT="$pkgdir" install
+}
+
+sha512sums="d7a6b4cee8dfd603d8d4c976e5287b5cc542fa0b466ff989b743276a6e28114e64289bf02a7819eca63142a5278aa6eed57773007e5f589e15768e6456a8919d nasm-2.13.03.tar.bz2"