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