aboutsummaryrefslogtreecommitdiffstats
path: root/main/nasm
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-04 12:39:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-11-04 12:39:11 +0000
commit0049d088b1f911f64d901fdd0e3f5152f6a815cb (patch)
treef082468fe1314a1db17163b2676db4fadca93c5e /main/nasm
parentdc34e838b2ef7148b112a495eed6cfd00663b84b (diff)
downloadaports-0049d088b1f911f64d901fdd0e3f5152f6a815cb.tar.bz2
aports-0049d088b1f911f64d901fdd0e3f5152f6a815cb.tar.xz
main/nasm: upgrade to 2.12.02, update license
Diffstat (limited to 'main/nasm')
-rw-r--r--main/nasm/APKBUILD25
1 files changed, 8 insertions, 17 deletions
diff --git a/main/nasm/APKBUILD b/main/nasm/APKBUILD
index 171939bd71..a8f0f3ce2e 100644
--- a/main/nasm/APKBUILD
+++ b/main/nasm/APKBUILD
@@ -1,28 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nasm
-pkgver=2.11.08
+pkgver=2.12.02
pkgrel=0
pkgdesc="80x86 assembler designed for portability and modularity"
url="http://nasm.sourceforge.net"
arch="all"
-license="LGPL"
+license="BSD-2"
depends=
source="http://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=
export CXXFLAGS=
./configure \
@@ -35,9 +26,9 @@ build () {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make INSTALLROOT="$pkgdir" install
}
-md5sums="7aae5cb8e03fac48029c82a7470ab066 nasm-2.11.08.tar.bz2"
-sha256sums="9da3a0291a0bdc06305b7ba194f1e2c2b55ae6f11210b4af43729868149d5445 nasm-2.11.08.tar.bz2"
-sha512sums="0826639c4ff5fd331921d5f36e97ccb4bbe26eb49ea146e49a110015a9d10e2fa29040d648b0890bf4aaba048ed8b70434d7027a9733ef605de0aacf819a4993 nasm-2.11.08.tar.bz2"
+md5sums="d15843c3fb7db39af80571ee27ec6fad nasm-2.12.02.tar.bz2"
+sha256sums="00b0891c678c065446ca59bcee64719d0096d54d6886e6e472aeee2e170ae324 nasm-2.12.02.tar.bz2"
+sha512sums="7744a078647861382212de798d200b683cc4044881474fc1931acb14dfa0340ce026d1b3f64ac1ece87878ccd0ddcb69b8c0c850415313f47e01f0332e56a8f8 nasm-2.12.02.tar.bz2"