diff options
-rw-r--r-- | sci-electronics/systemc/ChangeLog | 26 | ||||
-rw-r--r-- | sci-electronics/systemc/Manifest | 4 | ||||
-rw-r--r-- | sci-electronics/systemc/files/digest-systemc-2.0.1 | 1 | ||||
-rw-r--r-- | sci-electronics/systemc/metadata.xml | 5 | ||||
-rw-r--r-- | sci-electronics/systemc/systemc-2.0.1.ebuild | 68 |
5 files changed, 104 insertions, 0 deletions
diff --git a/sci-electronics/systemc/ChangeLog b/sci-electronics/systemc/ChangeLog new file mode 100644 index 000000000000..a91fd47ee16a --- /dev/null +++ b/sci-electronics/systemc/ChangeLog @@ -0,0 +1,26 @@ +# ChangeLog for app-sci/systemc +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/systemc/ChangeLog,v 1.1 2004/12/27 20:23:41 ribosome Exp $ + +*systemc-2.0.1 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +systemc-2.0.1.ebuild: + Moved from app-sci/systemc to sci-electronics/systemc. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> systemc-2.0.1.ebuild: + virtual/glibc -> virtual/libc + + 07 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> systemc-2.0.1.ebuild: + dyn_fetch() -> pkg_nofetch() + + 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> systemc-2.0.1.ebuild: + Add die following econf for bug 48950 + +*systemc-2.0.1 (05 Dec 2002) + + 05 Dec 2002; George Shapovalov <george@gentoo.org> systemc-2.0.1.ebuild : + + initial release. + A C++ based modeling platform for VLSI and system-level co-design. + ebuild submitted by Chris Bainbridge <chrb@dcs.ed.ac.uk> diff --git a/sci-electronics/systemc/Manifest b/sci-electronics/systemc/Manifest new file mode 100644 index 000000000000..86fb74490ed9 --- /dev/null +++ b/sci-electronics/systemc/Manifest @@ -0,0 +1,4 @@ +MD5 7209ca326be3fb4a41a901a3a8018299 ChangeLog 799 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 859bdbc1474e4a367fd43d0fd7dde1d2 systemc-2.0.1.ebuild 3162 +MD5 86ffb069f0035979bbabbfd38e5c03fc files/digest-systemc-2.0.1 63 diff --git a/sci-electronics/systemc/files/digest-systemc-2.0.1 b/sci-electronics/systemc/files/digest-systemc-2.0.1 new file mode 100644 index 000000000000..1b4d316beda7 --- /dev/null +++ b/sci-electronics/systemc/files/digest-systemc-2.0.1 @@ -0,0 +1 @@ +MD5 315dece08b717c41a1ee9d6387096949 systemc-2.0.1.tgz 1590044 diff --git a/sci-electronics/systemc/metadata.xml b/sci-electronics/systemc/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-electronics/systemc/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>sci</herd> +</pkgmetadata> diff --git a/sci-electronics/systemc/systemc-2.0.1.ebuild b/sci-electronics/systemc/systemc-2.0.1.ebuild new file mode 100644 index 000000000000..7e29cb3b560e --- /dev/null +++ b/sci-electronics/systemc/systemc-2.0.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/systemc/systemc-2.0.1.ebuild,v 1.1 2004/12/27 20:23:41 ribosome Exp $ + +IUSE="" + +DESCRIPTION="A C++ based modeling platform for VLSI and system-level co-design" +HOMEPAGE="http://www.systemc.org/" +SRC_URI="systemc-2.0.1.tgz" + +SLOT="0" +LICENSE="SOPLA-2.4" +KEYWORDS="x86" + +DEPEND="virtual/libc" +RESTRICT="fetch" + +pkg_nofetch() { + einfo "${PN} developes require end-users to accept their license agreement" + einfo "by registering on their site (http://www.systemc.org)" + einfo "Please download ${A} manually and place it in ${DISTDIR}" +} + +src_unpack() { + unpack ${A} + cd ${S} + cp configure configure.orig + sed -e "s:OPT_CXXFLAGS=\"-O3\":OPT_CXXFLAGS=\"${CXXFLAGS}\":g" configure.orig > configure + chmod +x configure +} + +src_compile() { + econf || die "econf failed" + emake || die + cd ${S}/src/systemc/kernel + ar cru ../../../src/libsystemc.a sc_attribute.o sc_cor_fiber.o sc_cor_qt.o sc_event.o sc_kernel_ids.o sc_lambda.o sc_main.o sc_module.o sc_module_name.o sc_module_registry.o sc_name_gen.o sc_object.o sc_object_manager.o sc_process_int.o sc_runnable.o sc_sensitive.o sc_simcontext.o sc_time.o sc_ver.o sc_wait.o sc_wait_cthread.o + cd ${S}/src/systemc/qt + ar cru ../../../src/libsystemc.a qt.o qtmdc.o qtmds.o + cd ${S}/src/systemc/communication + ar cru ../../../src/libsystemc.a sc_clock.o sc_communication_ids.o sc_event_finder.o sc_interface.o sc_mutex.o sc_port.o sc_prim_channel.o sc_semaphore.o sc_signal.o sc_signal_ports.o sc_signal_resolved.o sc_signal_resolved_ports.o + cd ${S}/src/systemc/datatypes/bit + ar cru ../../../../src/libsystemc.a sc_bit.o sc_bit_ids.o sc_bv_base.o sc_logic.o sc_lv_base.o + cd ${S}/src/systemc/datatypes/fx + ar cru ../../../../src/libsystemc.a sc_fx_ids.o sc_fxcast_switch.o sc_fxdefs.o sc_fxnum.o sc_fxnum_observer.o sc_fxtype_params.o sc_fxval.o sc_fxval_observer.o scfx_mant.o scfx_pow10.o scfx_rep.o scfx_utils.o + cd ${S}/src/systemc/datatypes/int + ar cru ../../../../src/libsystemc.a sc_int_base.o sc_int32_mask.o sc_int64_io.o sc_int64_mask.o sc_int_ids.o sc_length_param.o sc_nbdefs.o sc_nbexterns.o sc_nbutils.o sc_signed.o sc_uint_base.o sc_unsigned.o + cd ${S}/src/systemc/tracing + ar cru ../../../src/libsystemc.a sc_isdb_trace.o sc_trace.o sc_vcd_trace.o sc_wif_trace.o + cd ${S}/src/systemc/utils + ar cru ../../../src/libsystemc.a sc_exception.o sc_hash.o sc_list.o sc_mempool.o sc_pq.o sc_report.o sc_report_handler.o sc_stop_here.o sc_string.o sc_utils_ids.o sc_vector.o +} + +src_install() { + cd ${S}/src + dolib.a libsystemc.a + dodir /usr/include/systemc + find . -name "*.h" -exec cp --parents {} ${D}/usr/include/ \; + cd ${S} + dodoc AUTHORS NEWS README RELEASENOTES + dodir /usr/share/doc/${PF}/examples + cp docs/*.pdf ${D}/usr/share/doc/${PF} + cp -r examples/systemc/* ${D}/usr/share/doc/${PF}/examples + cd ${D}/usr/share/doc/${PF}/examples + rm Makefile Makefile.am Makefile.in + cp Makefile.defs Makefile.defs.orig + sed -e "s:LIBDIR =:#LIBDIR =:g" Makefile.defs.orig > Makefile.defs.1 + sed -e "s:\$(EXE).*:\$(EXE)\: \$(OBJS):g" Makefile.defs.1 > Makefile.defs +} |