diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/yasm/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/yasm/APKBUILD b/user/yasm/APKBUILD new file mode 100644 index 000000000..9452da3c0 --- /dev/null +++ b/user/yasm/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: +pkgname=yasm +pkgver=1.3.0 +pkgrel=2 +pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)" +url="http://yasm.tortall.net/" +arch="all" +license="(BSD-2-Clause OR BSD-3-Clause) AND (Artistic-1.0 OR GPL-2.0-only OR LGPL-2.0-only)" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.tortall.net/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz" + +prepare() { + default_prepare + cd "$builddir" + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make -j1 check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +sha512sums="572d3b45568b10f58e48f1188c2d6bcbdd16429c8afaccc8c6d37859b45635e106885d679e41d0bee78c23822108c7ae75aa7475eed5ba58057e0a6fe1b68645 yasm-1.3.0.tar.gz" |