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
commit90b37ec855dcc5479be3a4b25e3ba09fe2b3f127 (patch)
tree26072fd751ac8f87038a7832d9be4923187ea60d /sys-libs/csu
parentuse slot dep on vte (diff)
downloadhistorical-90b37ec855dcc5479be3a4b25e3ba09fe2b3f127.tar.gz
historical-90b37ec855dcc5479be3a4b25e3ba09fe2b3f127.tar.bz2
historical-90b37ec855dcc5479be3a4b25e3ba09fe2b3f127.zip
bring back darwin csu, bump to version 79
Package-Manager: portage-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/Manifest4
-rw-r--r--sys-libs/csu/csu-79.ebuild43
-rw-r--r--sys-libs/csu/metadata.xml5
4 files changed, 76 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/Manifest b/sys-libs/csu/Manifest
new file mode 100644
index 000000000000..eb1804bfc1aa
--- /dev/null
+++ b/sys-libs/csu/Manifest
@@ -0,0 +1,4 @@
+DIST Csu-79.tar.gz 12719 RMD160 2ab6404116ff40c0e5a3c1cf6f4afc592db33fe2 SHA1 3a2f5de8bbacaa71f1827e6d501a8c773a5ee938 SHA256 d052e1daa1f5de7fc02e7e7cb8b79ee2eeaad0f321c0a70bea4fc7217e232ec2
+EBUILD csu-79.ebuild 1037 RMD160 8d06b96e15251ea0375c4ac1a3f2e2a3a078063c SHA1 232605e6d3b9d708111e50814889f45c18061482 SHA256 8e2d5e7102977206c916f897f3ed5f4255020fd975cfa2877632751374f6e465
+MISC ChangeLog 754 RMD160 0a11fa50c444e8466264c96d0d568e2634cddf4d SHA1 063802f4571542b381a4608d05011c1679ccc774 SHA256 0d4aabcf68a195d14368617240bea3f4692a5f7fed5fd9f02f0de927c055ee50
+MISC metadata.xml 161 RMD160 6c29747dbb0db1b73447a647429f26ee2f888de6 SHA1 f3516c315c02c36a8ab630c8019d0d88a4507ef0 SHA256 eac14dbe95ed36c1455585d4c47b5f4ce921e4d5cc459f2f49c703926f4a91c0
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>