aboutsummaryrefslogtreecommitdiffstats
path: root/main/yasm/APKBUILD
blob: 3855d8574a0421c5171466de8d23e2ab000cff09 (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=yasm
pkgver=1.1.0
pkgrel=0
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
url="http://www.tortall.net/projects/yasm/"
arch="x86 x86_64"
license="custom"
depends=
makedepends=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.tortall.net/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="8392e5f2235c2c2a981e1a633f2698cb  yasm-1.1.0.tar.gz"