diff options
Diffstat (limited to 'dev-lang/pasm/pasm-1.7.ebuild')
-rw-r--r-- | dev-lang/pasm/pasm-1.7.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-lang/pasm/pasm-1.7.ebuild b/dev-lang/pasm/pasm-1.7.ebuild new file mode 100644 index 000000000000..3bebe34a91e9 --- /dev/null +++ b/dev-lang/pasm/pasm-1.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="A portable assembler for processors of the PowerPC family" +SRC_URI="http://devnull.owl.de/~frank/${PN}.tar.gz" +HOMEPAGE="http://sun.hasenbraten.de/~frank/projects/" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~ppc ~ppc-macos" + +src_unpack() { + mkdir -p "${S}"/LinuxPPC + cd "${S}" + unpack ${A} + epatch "${FILESDIR}/${P}-ppc.patch" +} + +src_compile() { + emake || die "Compilation failed" +} + +src_install () { + dobin pasm || die "Failed to install pasm binary" + dodoc pasm.doc || die "Failed to install pasm documentation" +} |