# 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:
+DIST systemc-2.2.0.tgz 2048017 RMD160 f04c872cbb568a29d0f8158cd785c7af7af41d2d SHA1 c2b60c654748dc1b9dec05a4872d37d8b85aee44 SHA256 ad10f0d96864b87544a2a7a31fc0e43024f136789a0ae62a7728afd47541e359
DIST systemc-2.2.05jun06.tgz 2051255 RMD160 5519826ce8028e20d9deb9cbe783e3c73de29408 SHA1 8a344422d8c4734848a572a8ffc6b406595ad898 SHA256 a1e39150530d1adcfdce161ce0e8ab868a49f85ec5022e4686b11cb09f9d153a
+EBUILD systemc-2.2.0.ebuild 1544 RMD160 16a727c86bcff122103ef44fc3e9b1738073ce2a SHA1 f84624936ee8bb7f423890958853b55599c90cfc SHA256 2c3b1b417aa1a61d60a8082286b5ed202219470968394031932dc0ea389c0de2
+MD5 26ca12680123fb4081c9da0738b481bc systemc-2.2.0.ebuild 1544
+RMD160 16a727c86bcff122103ef44fc3e9b1738073ce2a systemc-2.2.0.ebuild 1544
+SHA256 2c3b1b417aa1a61d60a8082286b5ed202219470968394031932dc0ea389c0de2 systemc-2.2.0.ebuild 1544
EBUILD systemc-2.2_beta20060605.ebuild 1698 RMD160 507452bf523b29747344b28d95fb06ad64ba2d4c SHA1 d6132a4cb17531ffcbf361533642a8ea14de524b SHA256 c4ee803a03d0ecab4238de665ee635132f4b80d469dca1deb146fe69d07536f7
MD5 fa2a4a5577c203a1d412b08fcff37f40 systemc-2.2_beta20060605.ebuild 1698
RMD160 507452bf523b29747344b28d95fb06ad64ba2d4c systemc-2.2_beta20060605.ebuild 1698
SHA256 c4ee803a03d0ecab4238de665ee635132f4b80d469dca1deb146fe69d07536f7 systemc-2.2_beta20060605.ebuild 1698
-MISC ChangeLog 2266 RMD160 599cad04e2cc00fcf8ea8b2970424b718fef68fa SHA1 6bf8ad2353be7dad399006228f3e60b20087a423 SHA256 35d2079ed51b69a1c48d04d7c70c3c3fbcbe746f84235115a5592e9de529360e
-MD5 7350fa3768c67eae0c850acf788278b7 ChangeLog 2266
-RMD160 599cad04e2cc00fcf8ea8b2970424b718fef68fa ChangeLog 2266
-SHA256 35d2079ed51b69a1c48d04d7c70c3c3fbcbe746f84235115a5592e9de529360e ChangeLog 2266
+MISC ChangeLog 2387 RMD160 171b7ea56a55a425be37540eeba11801de51d944 SHA1 9425fa3b69e211f507d1d067f8cc423b4f7c0347 SHA256 9002edcb83c1fd8ff18e184c76e88462757272c9f270a3a0a034bb651b69680f
+MD5 b461581cd9131ac198d6bac4154e341f ChangeLog 2387
+RMD160 171b7ea56a55a425be37540eeba11801de51d944 ChangeLog 2387
+SHA256 9002edcb83c1fd8ff18e184c76e88462757272c9f270a3a0a034bb651b69680f ChangeLog 2387
MISC metadata.xml 646 RMD160 60e2ec4364294f0be9419c30413ec93ee8bd96fd SHA1 01247171085cb65ed9c2f210969763228ee316c6 SHA256 c96bd5be1afd449e04d51d43e09dbadf97e5b7d3c8eebf8f05a1b271cd4b3419
MD5 9b4bfe01bfcf4c6c1b731c32d81586ae metadata.xml 646
RMD160 60e2ec4364294f0be9419c30413ec93ee8bd96fd metadata.xml 646
SHA256 c96bd5be1afd449e04d51d43e09dbadf97e5b7d3c8eebf8f05a1b271cd4b3419 metadata.xml 646
+MD5 4dde782556b312a44dbe5fecb2fc0aa8 files/digest-systemc-2.2.0 235
+RMD160 56943deca52649fd7096827ef68269123ca76ba1 files/digest-systemc-2.2.0 235
+SHA256 4a6b31fd1b983add5f64707399f6428580db6eb665717010ec55acc7026a49e8 files/digest-systemc-2.2.0 235
MD5 bf9067caef9b2993b548f9126eac4c60 files/digest-systemc-2.2_beta20060605 253
RMD160 a03196f0dd6cc6e39dd61f64c17443a120e4d14e files/digest-systemc-2.2_beta20060605 253
SHA256 0ff68fa364301d310566ffa6a55396f32ff371dae513297dd8721f9b456490ee files/digest-systemc-2.2_beta20060605 253
--- /dev/null
+# 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"
+}