summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-04-22 15:38:02 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-04-22 15:38:02 +0000
commitce4c1fb49d2367c3b0fce73f3fdf2c14a91420c8 (patch)
tree233458839943468f64236dc75432903de3737abb /sci-electronics/systemc
parentInstall Task Manager desktop menu entry to category System as this is definat... (diff)
downloadgentoo-2-ce4c1fb49d2367c3b0fce73f3fdf2c14a91420c8.tar.gz
gentoo-2-ce4c1fb49d2367c3b0fce73f3fdf2c14a91420c8.tar.bz2
gentoo-2-ce4c1fb49d2367c3b0fce73f3fdf2c14a91420c8.zip
Version bump.
(Portage version: 2.1.2.4)
Diffstat (limited to 'sci-electronics/systemc')
-rw-r--r--sci-electronics/systemc/ChangeLog7
-rw-r--r--sci-electronics/systemc/files/digest-systemc-2.2.03
-rw-r--r--sci-electronics/systemc/systemc-2.2.0.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/sci-electronics/systemc/ChangeLog b/sci-electronics/systemc/ChangeLog
index a9edad15b654..2da2924a1719 100644
--- a/sci-electronics/systemc/ChangeLog
+++ b/sci-electronics/systemc/ChangeLog
@@ -1,6 +1,11 @@
# 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.11 2007/04/20 09:28:22 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/systemc/ChangeLog,v 1.12 2007/04/22 15:38:02 calchan Exp $
+
+*systemc-2.2.0 (22 Apr 2007)
+
+ 22 Apr 2007; Denis Dupeyron <calchan@gentoo.org> +systemc-2.2.0.ebuild:
+ Version bump.
20 Apr 2007; Denis Dupeyron <calchan@gentoo.org>
systemc-2.2_beta20060605.ebuild:
diff --git a/sci-electronics/systemc/files/digest-systemc-2.2.0 b/sci-electronics/systemc/files/digest-systemc-2.2.0
new file mode 100644
index 000000000000..cac91cb886b0
--- /dev/null
+++ b/sci-electronics/systemc/files/digest-systemc-2.2.0
@@ -0,0 +1,3 @@
+MD5 66505efc9231e4be688a5034973fa79a systemc-2.2.0.tgz 2048017
+RMD160 f04c872cbb568a29d0f8158cd785c7af7af41d2d systemc-2.2.0.tgz 2048017
+SHA256 ad10f0d96864b87544a2a7a31fc0e43024f136789a0ae62a7728afd47541e359 systemc-2.2.0.tgz 2048017
diff --git a/sci-electronics/systemc/systemc-2.2.0.ebuild b/sci-electronics/systemc/systemc-2.2.0.ebuild
new file mode 100644
index 000000000000..eea0a10ef595
--- /dev/null
+++ b/sci-electronics/systemc/systemc-2.2.0.ebuild
@@ -0,0 +1,54 @@
+# 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.0.ebuild,v 1.1 2007/04/22 15:38:02 calchan Exp $
+
+inherit versionator multilib
+
+DESCRIPTION="A C++ based modeling platform for VLSI and system-level co-design"
+LICENSE="SOPLA-2.3"
+HOMEPAGE="http://www.systemc.org/"
+SRC_URI="${P}.tgz"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+RESTRICT="fetch test"
+
+DEPEND=""
+
+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 ${P}"
+ elog " find examples -name 'Makefile.*' -exec sed -i -e 's/-lm/-lm -lpthread/' '{}' \;"
+ elog " ./configure"
+ elog " cd examples"
+ elog " make check"
+}