diff options
author | 2009-04-13 22:38:45 +0000 | |
---|---|---|
committer | 2009-04-13 22:38:45 +0000 | |
commit | 1d96591717f5f26f2c701d7919ff949818035bb5 (patch) | |
tree | e8e6044e589a358a7e67a2a842c1c71433cfabd6 /dev-lang/yasm/yasm-0.8.0.ebuild | |
parent | old (diff) | |
download | gentoo-2-1d96591717f5f26f2c701d7919ff949818035bb5.tar.gz gentoo-2-1d96591717f5f26f2c701d7919ff949818035bb5.tar.bz2 gentoo-2-1d96591717f5f26f2c701d7919ff949818035bb5.zip |
Version bump.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/yasm/yasm-0.8.0.ebuild')
-rw-r--r-- | dev-lang/yasm/yasm-0.8.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-lang/yasm/yasm-0.8.0.ebuild b/dev-lang/yasm/yasm-0.8.0.ebuild new file mode 100644 index 000000000000..ca9311408c2a --- /dev/null +++ b/dev-lang/yasm/yasm-0.8.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/yasm/yasm-0.8.0.ebuild,v 1.1 2009/04/13 22:38:45 vapier Exp $ + +DESCRIPTION="Assembler that supports amd64" +HOMEPAGE="http://www.tortall.net/projects/yasm/" +SRC_URI="http://www.tortall.net/projects/yasm/releases/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" +IUSE="nls" + +RDEPEND="nls? ( virtual/libintl )" +DEPEND="nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + # Remove macho tests (gas{32,64},nasm{32,64}) until fixed upstream. + # Necessary to pass test phase on at least amd64 with gcc-4.1.2. + sed -i \ + -e '/modules\/objfmts\/macho\/tests\/.*\/.*macho.*_test.sh/d' \ + Makefile.in +} + +src_compile() { + econf $(use_enable nls) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS INSTALL +} |