summaryrefslogtreecommitdiff
path: root/repo/yasm/yasm.xibuild
blob: f6c12b5050b12fcf91fb71b8fb8b8dd9268db750 (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
#!/bin/sh

NAME="yasm"
DESC="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"

MAKEDEPS=""

PKG_VER=1.3.0
SOURCE="http://www.tortall.net/projects/yasm/releases/yasm-$PKG_VER.tar.gz"

ADDITIONAL="
74184586228af6c362f970c84fce58da3fcbdec8.patch
"

prepare() {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr
	make
}

check() {
	make -j1 check
}

package() {
	make DESTDIR="$PKG_DEST" install
	install -Dm644 COPYING "$PKG_DEST"/usr/share/licenses/yasm/COPYING
}