From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-lang/pasm/Manifest | 1 + dev-lang/pasm/files/pasm-1.7-ppc.patch | 29 +++++++++++++++++++++++++++++ dev-lang/pasm/metadata.xml | 15 +++++++++++++++ dev-lang/pasm/pasm-1.7.ebuild | 29 +++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 dev-lang/pasm/Manifest create mode 100644 dev-lang/pasm/files/pasm-1.7-ppc.patch create mode 100644 dev-lang/pasm/metadata.xml create mode 100644 dev-lang/pasm/pasm-1.7.ebuild (limited to 'dev-lang/pasm') diff --git a/dev-lang/pasm/Manifest b/dev-lang/pasm/Manifest new file mode 100644 index 000000000000..f592b1c9bc4c --- /dev/null +++ b/dev-lang/pasm/Manifest @@ -0,0 +1 @@ +DIST pasm.tar.gz 82136 SHA256 c8e11cccdf70e02f6bcb2edd76606bd6b745904a0858350ab739a8ea372adacd SHA512 313e4ad694704ad59619c46353c53ef9bd5529b6c9faee5cc6124dd0175f7b5a87268d2c26045f0639a0002311828b227915f30e697f8adedcd4256774674283 WHIRLPOOL 01631ddbf1c4c34487ee0558b149b5fee8b7c179ca23a764a0d6cda091d116d9488aa94e54f8d6992c78545da93972576c4611f60a7f87aa32d26a25a0d9cddd diff --git a/dev-lang/pasm/files/pasm-1.7-ppc.patch b/dev-lang/pasm/files/pasm-1.7-ppc.patch new file mode 100644 index 000000000000..24ff8056b937 --- /dev/null +++ b/dev-lang/pasm/files/pasm-1.7-ppc.patch @@ -0,0 +1,29 @@ +diff -Naur pasm-1.6c.orig/Makefile pasm-1.6c/Makefile +--- pasm-1.6c.orig/Makefile 2001-05-14 18:06:01.000000000 +0200 ++++ pasm-1.6c/Makefile 2004-02-28 16:19:21.000000000 +0100 +@@ -14,9 +14,9 @@ + + # Unix + CC = gcc +-COPTS = -O2 -fomit-frame-pointer -DIrix53 -DOFMT_DEFAULT=OFMT_ELF ++COPTS = $(CFLAGS) -DLinuxPPC -DOFMT_DEFAULT=OFMT_ELF + CLIBS = -lm +-DIR = Irix5.3 ++DIR = LinuxPPC + + + PPCobj = $(DIR)/main.o $(DIR)/support.o $(DIR)/pass.o $(DIR)/eval.o \ +diff -Naur pasm-1.6c.orig/ppcasm.h pasm-1.6c/ppcasm.h +--- pasm-1.6c.orig/ppcasm.h 2003-11-01 13:49:29.000000000 +0100 ++++ pasm-1.6c/ppcasm.h 2004-02-28 16:16:38.000000000 +0100 +@@ -162,6 +162,10 @@ + #define MACHINE "Linux/Alpha" + #define LITTLEENDIAN + #define TYPES64BIT ++#elif defined (LinuxPPC) ++#define MACHINE "Linux/PPC" ++#define BIGENDIAN ++#define STDTYPES + #elif defined (Wintel) /* jab */ + #define MACHINE "Wintel" + #define LITTLEENDIAN diff --git a/dev-lang/pasm/metadata.xml b/dev-lang/pasm/metadata.xml new file mode 100644 index 000000000000..4dbb423b7039 --- /dev/null +++ b/dev-lang/pasm/metadata.xml @@ -0,0 +1,15 @@ + + + + + maintainer-needed@gentoo.org + + + pasm is a portable assembler for processors of the PowerPC family, + written completely in ANSI-C. All PPC standard instructions, AltiVec + instructions, all 32-bit extended mnemonics and most of the 64-bit + extended mnemonics are supported. pasm knows about nearly 50 directives. + Among them are directives for macros, conditional assembly, + include files, base-relative addressing (small data), etc.. + + 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" +} -- cgit v1.2.3-65-gdbad