summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-03-15 18:22:22 +0000
committerFabian Groffen <grobian@gentoo.org>2011-03-15 18:22:22 +0000
commit4e78e43163b33c25e50bf17a491c9b812a6400da (patch)
tree05b9aad5eb566e25e6294f0d9049807556ed10c5 /sys-libs/csu
parentuse slot dep on vte (diff)
downloadgentoo-2-4e78e43163b33c25e50bf17a491c9b812a6400da.tar.gz
gentoo-2-4e78e43163b33c25e50bf17a491c9b812a6400da.tar.bz2
gentoo-2-4e78e43163b33c25e50bf17a491c9b812a6400da.zip
bring back darwin csu, bump to version 79
(Portage version: 2.2.01.18091-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'sys-libs/csu')
-rw-r--r--sys-libs/csu/ChangeLog24
-rw-r--r--sys-libs/csu/csu-79.ebuild43
-rw-r--r--sys-libs/csu/metadata.xml5
3 files changed, 72 insertions, 0 deletions
diff --git a/sys-libs/csu/ChangeLog b/sys-libs/csu/ChangeLog
new file mode 100644
index 000000000000..41743ea3e52e
--- /dev/null
+++ b/sys-libs/csu/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for sys-libs/csu
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v 1.5 2011/03/15 18:22:22 grobian Exp $
+
+*csu-79 (15 Mar 2011)
+
+ 15 Mar 2011; Fabian Groffen <grobian@gentoo.org> +csu-79.ebuild,
+ +metadata.xml:
+ Version bump. Bring back csu for Darwin. This contains crt1.o and friends for
+ Darwin/Mac OS X systems
+
+ 14 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
+ Remove kito from metadata.xml due to retiring.
+
+*csu-57 (19 May 2005)
+
+ 19 May 2005; Kito <kito@gentoo.org> +csu-57.ebuild:
+ version bump. Go ferral tabbey!
+
+*csu-46 (15 Nov 2004)
+
+ 15 Nov 2004; Kito <kito@gentoo.org> +csu-46.ebuild:
+ initial import. added ~ppc-macos
+
diff --git a/sys-libs/csu/csu-79.ebuild b/sys-libs/csu/csu-79.ebuild
new file mode 100644
index 000000000000..c7294adda3ec
--- /dev/null
+++ b/sys-libs/csu/csu-79.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-79.ebuild,v 1.1 2011/03/15 18:22:22 grobian Exp $
+
+EAPI=3
+
+DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.6.6 version"
+HOMEPAGE="http://www.opensource.apple.com/"
+SRC_URI="http://www.opensource.apple.com/tarballs/Csu/Csu-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+RESTRICT="fetch" # need to sort out if we can mirror
+
+SLOT="0"
+KEYWORDS="~ppc-macos"
+IUSE=""
+
+pkg_nofetch() {
+ einfo "Please download the necessary files manually, it requires an"
+ einfo "Apple Developer Connection account."
+ einfo " ${SRC_URI}"
+ einfo "See: ${HOMEPAGE}"
+}
+
+src_prepare() {
+ # since we don't have crt0, we can't build it either
+ sed -i \
+ -e 's:$(SYMROOT)/crt0.o::' \
+ -e '/LOCLIBDIR)\/crt0.o/d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake USRLIBDIR="${EPREFIX}"/lib || die
+}
+
+src_install() {
+ emake \
+ USRLIBDIR="${EPREFIX}"/lib \
+ LOCLIBDIR="${EPREFIX}"/lib \
+ DSTROOT="${D}" \
+ install || die
+}
diff --git a/sys-libs/csu/metadata.xml b/sys-libs/csu/metadata.xml
new file mode 100644
index 000000000000..f737f232e3bf
--- /dev/null
+++ b/sys-libs/csu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>prefix</herd>
+</pkgmetadata>