blob: 171939bd7143ab33765295770820594a2a1641dc (
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
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nasm
pkgver=2.11.08
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"
_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
}
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="7aae5cb8e03fac48029c82a7470ab066 nasm-2.11.08.tar.bz2"
sha256sums="9da3a0291a0bdc06305b7ba194f1e2c2b55ae6f11210b4af43729868149d5445 nasm-2.11.08.tar.bz2"
sha512sums="0826639c4ff5fd331921d5f36e97ccb4bbe26eb49ea146e49a110015a9d10e2fa29040d648b0890bf4aaba048ed8b70434d7027a9733ef605de0aacf819a4993 nasm-2.11.08.tar.bz2"
|