summaryrefslogtreecommitdiff
blob: 5743df70d0a68605b0f63bf9136e97a8afa41790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/yasm/yasm-0.5.0_rc1.ebuild,v 1.2 2006/03/01 22:17:12 kugelfang Exp $

inherit versionator

DESCRIPTION="assembler that supports amd64"
HOMEPAGE="http://www.tortall.net/projects/yasm/"
MYP="${PN}-$(delete_version_separator 3 ${PV})"
S="${WORKDIR}/${MYP}"
SRC_URI="http://www.tortall.net/projects/yasm/releases/${MYP}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
IUSE="nls"

RDEPEND="nls? ( virtual/libintl )"
DEPEND="nls? ( sys-devel/gettext )"

src_compile() {
	econf $(use_enable nls) || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR="${D}" install || die "make install failed"
	dodoc AUTHORS INSTALL
}