blob: a8f0f3ce2e49225b79c964c45e2370082b971e20 (
plain)
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: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nasm
pkgver=2.12.02
pkgrel=0
pkgdesc="80x86 assembler designed for portability and modularity"
url="http://nasm.sourceforge.net"
arch="all"
license="BSD-2"
depends=
source="http://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"
builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$builddir"
export CFLAGS=
export CXXFLAGS=
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make nasmlib.o || return 1
make || return 1
}
package() {
cd "$builddir"
make INSTALLROOT="$pkgdir" install
}
md5sums="d15843c3fb7db39af80571ee27ec6fad nasm-2.12.02.tar.bz2"
sha256sums="00b0891c678c065446ca59bcee64719d0096d54d6886e6e472aeee2e170ae324 nasm-2.12.02.tar.bz2"
sha512sums="7744a078647861382212de798d200b683cc4044881474fc1931acb14dfa0340ce026d1b3f64ac1ece87878ccd0ddcb69b8c0c850415313f47e01f0332e56a8f8 nasm-2.12.02.tar.bz2"
|