diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-05 09:06:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-05 09:06:28 +0000 |
commit | 20a1358e4541f1b968ff2e076589320344bc1127 (patch) | |
tree | 14cb9c70f877db6d29d470f9887f8ac802f34c1b /main/yasm/APKBUILD | |
parent | da5ec75dc1f98e8aab8f042bc3f551e8c323cc3d (diff) | |
download | aports-20a1358e4541f1b968ff2e076589320344bc1127.tar.bz2 aports-20a1358e4541f1b968ff2e076589320344bc1127.tar.xz |
main/yasm: new aport
A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)
http://www.tortall.net/projects/yasm/
Diffstat (limited to 'main/yasm/APKBUILD')
-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" |