summaryrefslogtreecommitdiffstats
path: root/main/nasm/APKBUILD
blob: b3adaa15f6b00c495500acca9cec46818c4fc6a1 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nasm
pkgver=2.08.01
pkgrel=1
pkgdesc="80x86 assembler designed for portability and modularity"
url="http://nasm.sourceforge.net"
license="LGPL"
depends=
source="http://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.bz2"

subpackages="$pkgname-doc"

build () { 
	cd "$srcdir/$pkgname-$pkgver"
	export CFLAGS=
	export CXXFLAGS=
	./configure --prefix=/usr
	make nasmlib.o || return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make INSTALLROOT="$pkgdir" install
}
md5sums="1e3ebc1289c2be5963571c0937b7a211  nasm-2.08.01.tar.bz2"