summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-03-02 20:13:41 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-03-02 20:13:41 +0000
commit60925ec1af8acc15d452a594a7491eb0026c80fb (patch)
tree16f7e6bd03ed1b18a5e796a97ad190dcd7289d3c /sci-electronics
parentstable x86; bug 169040 (diff)
downloadgentoo-2-60925ec1af8acc15d452a594a7491eb0026c80fb.tar.gz
gentoo-2-60925ec1af8acc15d452a594a7491eb0026c80fb.tar.bz2
gentoo-2-60925ec1af8acc15d452a594a7491eb0026c80fb.zip
Version bump.
(Portage version: 2.1.2-r12)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/systemc/ChangeLog8
-rw-r--r--sci-electronics/systemc/files/digest-systemc-2.2_beta200606053
-rw-r--r--sci-electronics/systemc/systemc-2.2_beta20060605.ebuild58
3 files changed, 68 insertions, 1 deletions
diff --git a/sci-electronics/systemc/ChangeLog b/sci-electronics/systemc/ChangeLog
index 7feb96768970..eab88c7f116d 100644
--- a/sci-electronics/systemc/ChangeLog
+++ b/sci-electronics/systemc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/systemc
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/systemc/ChangeLog,v 1.6 2007/02/25 08:48:43 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/systemc/ChangeLog,v 1.7 2007/03/02 20:13:41 calchan Exp $
+
+*systemc-2.2_beta20060605 (02 Mar 2007)
+
+ 02 Mar 2007; Denis Dupeyron <calchan@gentoo.org>
+ +systemc-2.2_beta20060605.ebuild:
+ Version bump.
25 Feb 2007; Denis Dupeyron <calchan@gentoo.org>
files/digest-systemc-2.0.1, files/digest-systemc-2.0.1-r1, Manifest:
diff --git a/sci-electronics/systemc/files/digest-systemc-2.2_beta20060605 b/sci-electronics/systemc/files/digest-systemc-2.2_beta20060605
new file mode 100644
index 000000000000..6502f1661ed5
--- /dev/null
+++ b/sci-electronics/systemc/files/digest-systemc-2.2_beta20060605
@@ -0,0 +1,3 @@
+MD5 9dc74021f41442343ecffae3c692131e systemc-2.2.05jun06.tgz 2051255
+RMD160 5519826ce8028e20d9deb9cbe783e3c73de29408 systemc-2.2.05jun06.tgz 2051255
+SHA256 a1e39150530d1adcfdce161ce0e8ab868a49f85ec5022e4686b11cb09f9d153a systemc-2.2.05jun06.tgz 2051255
diff --git a/sci-electronics/systemc/systemc-2.2_beta20060605.ebuild b/sci-electronics/systemc/systemc-2.2_beta20060605.ebuild
new file mode 100644
index 000000000000..ed255b554476
--- /dev/null
+++ b/sci-electronics/systemc/systemc-2.2_beta20060605.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/systemc/systemc-2.2_beta20060605.ebuild,v 1.1 2007/03/02 20:13:41 calchan Exp $
+
+inherit versionator multilib
+
+SNAPSHOTDATE="05jun06"
+MY_PV="$(get_version_component_range 1-2).${SNAPSHOTDATE}"
+
+DESCRIPTION="A C++ based modeling platform for VLSI and system-level co-design"
+LICENSE="SOPLA-2.3"
+HOMEPAGE="http://www.systemc.org/"
+SRC_URI="${PN}-${MY_PV}.tgz"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86"
+RESTRICT="fetch test"
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}-${MY_PV}_beta"
+
+pkg_nofetch() {
+ elog "${PN} developers require end-users to accept their license agreement"
+ elog "by registering on their Web site (${HOMEPAGE})."
+ elog "Please download ${A} manually and place it in ${DISTDIR}."
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:lib-\$(TARGET_ARCH):$(get_libdir):g" $(find . -name Makefile.in) || die "Patching failed"
+ sed -i -e "s:OPT_CXXFLAGS=\"-O3\":OPT_CXXFLAGS=\"${CXXFLAGS}\":g" configure || die "Patching failed"
+}
+
+src_compile() {
+ econf --disable-dependency-tracking CXX="g++" || die "Configuration failed"
+ cd src
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog INSTALL NEWS README RELEASENOTES
+ insinto /usr/share/doc/${PF}/docs
+ doins doc/*
+ cd src
+ einstall
+}
+
+pkg_postinst() {
+ elog "If you want to run the examples, you need to :"
+ elog " tar xvfz ${PORTAGE_ACTUAL_DISTDIR}/${A}"
+ elog " cd ${PN}-${MY_PV}_beta"
+ elog " ./configure"
+ elog " cd examples"
+ elog " make check"
+}