diff options
Diffstat (limited to 'main/yasm')
-rw-r--r-- | main/yasm/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/yasm/APKBUILD b/main/yasm/APKBUILD new file mode 100644 index 0000000000..a0975f415d --- /dev/null +++ b/main/yasm/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=yasm +pkgver=0.8.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/" +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="84a72204c9b452a00b39b1b00495163f yasm-0.8.0.tar.gz" |