summaryrefslogtreecommitdiff
path: root/repo/yasm/yasm.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/yasm/yasm.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/yasm/yasm.xibuild')
-rw-r--r--repo/yasm/yasm.xibuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/repo/yasm/yasm.xibuild b/repo/yasm/yasm.xibuild
new file mode 100644
index 0000000..f6c12b5
--- /dev/null
+++ b/repo/yasm/yasm.xibuild
@@ -0,0 +1,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
+}
+