aboutsummaryrefslogtreecommitdiffstats
path: root/main/nasm/APKBUILD
blob: f01ebfd9731511384193ad2b6e9f57220ab3ae2e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nasm
pkgver=2.09.04
pkgrel=0
pkgdesc="80x86 assembler designed for portability and modularity"
url="http://nasm.sourceforge.net"
arch="all"
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="c11f083a501adae843d0bc3e7c106c73  nasm-2.09.04.tar.bz2"