summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-24 12:13:40 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-24 12:13:40 +0000
commit9dc12f948245477b8370750dd920d2e39ca87281 (patch)
treea6eab5edf792810dbaf463891865f47d2ba9877d /sys-devel/dragonegg
parentVersion bump to latest version. Thanks to Nikoli for the ebuild. Fixes bug #3... (diff)
downloadhistorical-9dc12f948245477b8370750dd920d2e39ca87281.tar.gz
historical-9dc12f948245477b8370750dd920d2e39ca87281.tar.bz2
historical-9dc12f948245477b8370750dd920d2e39ca87281.zip
Version bump, acked by voyageur. Update SRC_URI, add toolchain-funcs.eclass for tc-get*
Package-Manager: portage-2.2.0_alpha107/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/dragonegg')
-rw-r--r--sys-devel/dragonegg/ChangeLog8
-rw-r--r--sys-devel/dragonegg/Manifest28
-rw-r--r--sys-devel/dragonegg/dragonegg-3.1.ebuild48
3 files changed, 73 insertions, 11 deletions
diff --git a/sys-devel/dragonegg/ChangeLog b/sys-devel/dragonegg/ChangeLog
index 95fc7f58704f..425f50e5e3e2 100644
--- a/sys-devel/dragonegg/ChangeLog
+++ b/sys-devel/dragonegg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/dragonegg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.6 2012/01/27 02:47:00 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.7 2012/05/24 12:13:40 xarthisius Exp $
+
+*dragonegg-3.1 (24 May 2012)
+
+ 24 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +dragonegg-3.1.ebuild:
+ Version bump, acked by voyageur. Update SRC_URI, add toolchain-funcs.eclass
+ for tc-get*
27 Jan 2012; Christoph Junghans <ottxor@gentoo.org> dragonegg-3.0.ebuild:
keyword ~amd64-linux
diff --git a/sys-devel/dragonegg/Manifest b/sys-devel/dragonegg/Manifest
index 5b8a650f01ff..d23b553e7ec1 100644
--- a/sys-devel/dragonegg/Manifest
+++ b/sys-devel/dragonegg/Manifest
@@ -1,19 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST dragonegg-3.0.tar.gz 435536 RMD160 93aa8a463b6b5e1fb9cc1ee0a7c4d310a78ea64f SHA1 9be8f055df814e56ea3585156da8c7e457f2cd7b SHA256 72df1fd2e901b254ab8d1b5e7b93c7104751a613aca531f1483f9a637a5f6827
+DIST dragonegg-3.1.src.tar.gz 712464 RMD160 303e98f4d33f87fe018505a03ae1265d3c5a080c SHA1 98e865f16c76bddb3f6969c733042677e306d63c SHA256 a11d1379fab772bc4a747e6f5c6a27acf5fe03f27b5a152af67f63d5fbc4a876
EBUILD dragonegg-3.0.ebuild 1304 RMD160 d9f2ffcc14a660b96dc2f85431528c9c760eb821 SHA1 7fbf70a9dd6908997d2607e9468c1d07e196d67e SHA256 d914a7d9da1663533e258079ce43e7ecc806876cf724cd1cc14f8e555a12c4de
+EBUILD dragonegg-3.1.ebuild 1328 RMD160 662e75833ea73d77ebf7b8271af13e1706cfe986 SHA1 3b168f7db96adeffa16d2dca08c93cc4c9ccc0a7 SHA256 9aa4e078b6ffdbc55a5df36d77d314c81c5c059bb3cc29c75e670e98717d5bd9
EBUILD dragonegg-9999.ebuild 1326 RMD160 44e7664f5f7c2f22f981c6ad7a3110e21c5867af SHA1 8d3d610723ffeb3c3d87335d80e8bcc68307e6ce SHA256 72c8467e575c8cd71a83ed9e204794f592372af9a00affbfd491e668edefe702
-MISC ChangeLog 1096 RMD160 e6bfc5f59fec621f592f00f6b4d760134dc8ed26 SHA1 209c90699f6236917cc647eb8c8a7a121c672b04 SHA256 6542b216fb5e142a8ea7badd42e70d6e191c415826e1e528cbbf3842e101db19
+MISC ChangeLog 1300 RMD160 b04563459a22b2db51ab49a83613b11e08bc0a20 SHA1 9a263a8d4b0ed8a77418e870cb3dff9eb50423ef SHA256 0252580c92b5448b6df256951170dd5257edfd53317a4f46b5bffa968d061c80
MISC metadata.xml 492 RMD160 7eb430a13ec4ba40fcf67fdde74cf86b5e17028e SHA1 7a0c44e7aeed6d57d509d8b0260f655940281e81 SHA256 30b11ba6c1fb003706253651ad24ef789018d994e3e1d452e6639133a5a0b6f2
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBAgAGBQJPIhArAAoJEOeBhlrCAAWGOWkH/1b7khhczfaLKbM85zbCk91B
-QDaibzcZ60lJQ/MIguDiD1VyER2noJExSpHcMd3Qvgah0zSHwFXGbJY14wgv+XRy
-ykEbKCLgwh5e4RC3CVdLdWsRXsNrNDBklYYq9JIDGFde3U5ID5ytoF9KrtASkhno
-XmvGkivrrFdUEOGqIy5Uzh99mttIdtjgMQ6veFl5S6AAgba7tRVo1V5erkE0lJNI
-MFGiO3QB9xIsB/u1zXzez6LDQ4w91wXFL3hlFtrwtuKJAbZLHgQnKN+KQotzf0zJ
-be0nMZUr6CF1FoN9hrEOtxWk7JmFuQCTM3PJ2D/6AfYLbZ/4lxJVgloRak8Gb/0=
-=Zt9d
+iQIcBAEBCAAGBQJPviYMAAoJEF0huFKJUZL5sPsP/iLUN3F7Aj8QkohvDVb1N1ph
+sZp/JUhjQPZiPc4hSsOFKO+JcylJSOjRUbE3NAJRxRZQJ6WYPHzRSpQ0u2n9ZNQj
+AvzCNMlS6u0FLiSRLmENBhZCVD4wDK4/t9RXyL86UCYdcfeAItO/6qpri/LokJKz
+vjSKi4Y+4nrI+35ndDLYB9kmdRbHKFk+UnfqA7BTsrV1D3xMTqzfkjOA4l18u6ho
+0+4ZYk+i+/ahMsRafhMbQo5elnbzBrZDNNKm2EsHoSwbL/bh3yjQTSisRiX7cYKf
+zzW0B+ckPEyJar5pLwws4eFMgqgXefqdthk3dG3FTAkBT0V4nffGvs7G4nNtfHgH
+22u8K/S0ybmDcFOzb1/q4RuNw/TLE3hOyex00ovqS/cmPENkRg9gzqPvLGpGcDFH
+Va5iyWz2LPCCv5Z0h5XR0JxR11eYrSu4jY2lEw9xg4W2K0ErdGR8r/NbqoOxRV+j
+EH4hyujj1ebGCAzVmI6hDXiAxSkmBceO3BaKJStRLdMHZkWTwztAL/+v3jrv0z7H
+IWvV6T8qbz4acXROHuWvlwpEchxweZdPGtmc3W22aJcErXtXw5qA/pDxz4D2AwBd
++I/MfHKaVZXVEGWlyw6TIx6p7/5ltnW0VBG6M5hU4pMOr2WH11B3ZKhf4HisxoxZ
+fignlp3bwimnmRZxUOb2
+=Ikx/
-----END PGP SIGNATURE-----
diff --git a/sys-devel/dragonegg/dragonegg-3.1.ebuild b/sys-devel/dragonegg/dragonegg-3.1.ebuild
new file mode 100644
index 000000000000..8d6fb54e5a97
--- /dev/null
+++ b/sys-devel/dragonegg/dragonegg-3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild,v 1.1 2012/05/24 12:13:40 xarthisius Exp $
+
+EAPI=4
+inherit multilib toolchain-funcs
+
+DESCRIPTION="GCC plugin that uses LLVM for optimization and code generation"
+HOMEPAGE="http://dragonegg.llvm.org/"
+SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="|| ( sys-devel/gcc:4.5[lto]
+ >=sys-devel/gcc-4.6 )
+ ~sys-devel/llvm-${PV}"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P/_}.src
+
+src_prepare() {
+ # Replace svnversion call
+ sed -e "s/\(^REVISION:=\).*/\1${PV}/" \
+ -i Makefile || die "Setting revision failed"
+}
+
+src_compile() {
+ # GCC: compiler to use plugin with
+ emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1
+}
+
+src_install() {
+ # Install plugin in llvm lib directory
+ exeinto /usr/$(get_libdir)/llvm
+ doexe dragonegg.so
+
+ dodoc README
+}
+
+pkg_postinst() {
+ elog "To use dragonegg, run gcc as usual, with an extra command line argument:"
+ elog " -fplugin=/usr/$(get_libdir)/llvm/dragonegg.so"
+ elog "If you change the active gcc profile, or update gcc to a new version,"
+ elog "you will have to remerge this package to update the plugin"
+}