diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-11-23 21:39:57 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-11-23 21:39:57 +0000 |
commit | 1b1912bf31d56330bbcbd4b943eff7588d5980ff (patch) | |
tree | 8053c47b09a587758ad03f24f8f1ec1d743ffcda | |
parent | Stable on ppc64; bug #200106 (diff) | |
download | gentoo-2-1b1912bf31d56330bbcbd4b943eff7588d5980ff.tar.gz gentoo-2-1b1912bf31d56330bbcbd4b943eff7588d5980ff.tar.bz2 gentoo-2-1b1912bf31d56330bbcbd4b943eff7588d5980ff.zip |
Keyword ~amd64 wrt #187145, Fix LD, CC, LDFLAGS, CFLAGS, pre-stripped files, and clean up.
(Portage version: 2.1.4_rc2)
-rw-r--r-- | dev-embedded/avra/ChangeLog | 6 | ||||
-rw-r--r-- | dev-embedded/avra/avra-1.0.1.ebuild | 39 |
2 files changed, 22 insertions, 23 deletions
diff --git a/dev-embedded/avra/ChangeLog b/dev-embedded/avra/ChangeLog index 6417cf859b5d..6d3772f9f2b0 100644 --- a/dev-embedded/avra/ChangeLog +++ b/dev-embedded/avra/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-embedded/avra # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avra/ChangeLog,v 1.3 2007/02/09 01:10:26 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avra/ChangeLog,v 1.4 2007/11/23 21:39:57 drac Exp $ + + 23 Nov 2007; Samuli Suominen <drac@gentoo.org> avra-1.0.1.ebuild: + Keyword ~amd64 wrt #187145, Fix LD, CC, LDFLAGS, CFLAGS, pre-stripped files, + and clean up. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/dev-embedded/avra/avra-1.0.1.ebuild b/dev-embedded/avra/avra-1.0.1.ebuild index 485db979d383..ef5407e1cf14 100644 --- a/dev-embedded/avra/avra-1.0.1.ebuild +++ b/dev-embedded/avra/avra-1.0.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avra/avra-1.0.1.ebuild,v 1.2 2006/01/21 14:54:31 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avra/avra-1.0.1.ebuild,v 1.3 2007/11/23 21:39:57 drac Exp $ + +inherit toolchain-funcs DESCRIPTION="Atmel AVR Assembler" HOMEPAGE="http://avra.sourceforge.net/" @@ -8,34 +10,27 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="ppc x86" -IUSE="doc" +KEYWORDS="~amd64 ppc x86" +IUSE="examples" -DEPEND="" RDEPEND="" +DEPEND="" -src_unpack() { - mkdir ${S} - cd ${S} - unpack ${A} -} +S="${WORKDIR}" src_compile() { - cd ${S}/SOURCE - make all + cd SOURCE + emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + LD="$(tc-getCC)" LDFLAGS="${LDFLAGS}" \ + || die "emake failed." } src_install() { - cd ${S}/SOURCE - into /usr - dobin avra - - cd ${S} - into /usr - dodoc COPYING ChangeLog README + dobin SOURCE/avra + dodoc ChangeLog README - if use doc ; then - docinto TEST - dodoc TEST/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins TEST/* fi } |