blob: 0274dc018b1212e6f97adeee04a917d5a7ae7d6e (
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.01
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="89f661240f56884860480e2acc779ab6 nasm-2.11.01.tar.bz2"
sha256sums="a7aaed9930157d7599c654ee85f2ae61092b8eec8fe5f8c6f650d8880286195c nasm-2.11.01.tar.bz2"
sha512sums="40d96741addd56492a74b74d67d25b41f19191ddccd33be06e2ccda7c46467625ec1967f28bb2e7493efe31c26afc52c8521880f83485ec564cdf9e9b17a96c8 nasm-2.11.01.tar.bz2"
|